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