Package org.elasticsearch.plugins
Class SearchPlugin.SearchExtSpec<T extends SearchExtBuilder>
java.lang.Object
org.elasticsearch.plugins.SearchPlugin.SearchExtensionSpec<T,org.elasticsearch.core.CheckedFunction<org.elasticsearch.common.xcontent.XContentParser,T,IOException>>
org.elasticsearch.plugins.SearchPlugin.SearchExtSpec<T>
- Enclosing interface:
- SearchPlugin
public static class SearchPlugin.SearchExtSpec<T extends SearchExtBuilder>
extends SearchPlugin.SearchExtensionSpec<T,org.elasticsearch.core.CheckedFunction<org.elasticsearch.common.xcontent.XContentParser,T,IOException>>
Specification for a
SearchExtBuilder
which represents an additional section that can be
parsed in a search request (within the ext element).-
Constructor Summary
ConstructorDescriptionSearchExtSpec(String name, Writeable.Reader<? extends T> reader, org.elasticsearch.core.CheckedFunction<org.elasticsearch.common.xcontent.XContentParser,T,IOException> parser)
SearchExtSpec(org.elasticsearch.common.xcontent.ParseField name, Writeable.Reader<? extends T> reader, org.elasticsearch.core.CheckedFunction<org.elasticsearch.common.xcontent.XContentParser,T,IOException> parser)
-
Method Summary
Methods inherited from class org.elasticsearch.plugins.SearchPlugin.SearchExtensionSpec
getName, getParser, getReader
-
Constructor Details
-
SearchExtSpec
public SearchExtSpec(org.elasticsearch.common.xcontent.ParseField name, Writeable.Reader<? extends T> reader, org.elasticsearch.core.CheckedFunction<org.elasticsearch.common.xcontent.XContentParser,T,IOException> parser) -
SearchExtSpec
public SearchExtSpec(String name, Writeable.Reader<? extends T> reader, org.elasticsearch.core.CheckedFunction<org.elasticsearch.common.xcontent.XContentParser,T,IOException> parser)
-