Package org.elasticsearch.plugins
Class SearchPlugin.SearchExtSpec<T extends SearchExtBuilder>
java.lang.Object
org.elasticsearch.plugins.SearchPlugin.SearchExtensionSpec<T,CheckedFunction<XContentParser,T,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,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, CheckedFunction<XContentParser, T, IOException> parser) SearchExtSpec
(ParseField name, Writeable.Reader<? extends T> reader, CheckedFunction<XContentParser, T, IOException> parser) -
Method Summary
Methods inherited from class org.elasticsearch.plugins.SearchPlugin.SearchExtensionSpec
getName, getParser, getReader
-
Constructor Details
-
SearchExtSpec
public SearchExtSpec(ParseField name, Writeable.Reader<? extends T> reader, CheckedFunction<XContentParser, T, IOException> parser) -
SearchExtSpec
public SearchExtSpec(String name, Writeable.Reader<? extends T> reader, CheckedFunction<XContentParser, T, IOException> parser)
-