Package org.elasticsearch.plugins
Class SearchPlugin.SignificanceHeuristicSpec<T extends SignificanceHeuristic>
java.lang.Object
org.elasticsearch.plugins.SearchPlugin.SearchExtensionSpec<T,BiFunction<org.elasticsearch.common.xcontent.XContentParser,Void,T>>
org.elasticsearch.plugins.SearchPlugin.SignificanceHeuristicSpec<T>
- Enclosing interface:
- SearchPlugin
public static class SearchPlugin.SignificanceHeuristicSpec<T extends SignificanceHeuristic>
extends SearchPlugin.SearchExtensionSpec<T,BiFunction<org.elasticsearch.common.xcontent.XContentParser,Void,T>>
Specification of custom
SignificanceHeuristic
.-
Constructor Summary
ConstructorDescriptionSignificanceHeuristicSpec(String name, Writeable.Reader<T> reader, BiFunction<org.elasticsearch.common.xcontent.XContentParser,Void,T> parser)
SignificanceHeuristicSpec(org.elasticsearch.common.xcontent.ParseField name, Writeable.Reader<T> reader, BiFunction<org.elasticsearch.common.xcontent.XContentParser,Void,T> parser)
-
Method Summary
Methods inherited from class org.elasticsearch.plugins.SearchPlugin.SearchExtensionSpec
getName, getParser, getReader
-
Constructor Details
-
SignificanceHeuristicSpec
public SignificanceHeuristicSpec(org.elasticsearch.common.xcontent.ParseField name, Writeable.Reader<T> reader, BiFunction<org.elasticsearch.common.xcontent.XContentParser,Void,T> parser) -
SignificanceHeuristicSpec
public SignificanceHeuristicSpec(String name, Writeable.Reader<T> reader, BiFunction<org.elasticsearch.common.xcontent.XContentParser,Void,T> parser)
-