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 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)