Module org.elasticsearch.server
Class RetrieverParserContext
java.lang.Object
org.elasticsearch.search.retriever.RetrieverParserContext
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Predicate
<NodeFeature> protected final SearchUsage
-
Constructor Summary
ConstructorsConstructorDescriptionRetrieverParserContext
(SearchUsage searchUsage, Predicate<NodeFeature> clusterSupportsFeature) -
Method Summary
Modifier and TypeMethodDescriptionboolean
clusterSupportsFeature
(NodeFeature nodeFeature) void
trackQueryUsage
(String query) void
trackRescorerUsage
(String name) void
trackRetrieverUsage
(String name) void
trackSectionUsage
(String section)
-
Field Details
-
searchUsage
-
clusterSupportsFeature
-
-
Constructor Details
-
RetrieverParserContext
public RetrieverParserContext(SearchUsage searchUsage, Predicate<NodeFeature> clusterSupportsFeature)
-
-
Method Details
-
trackSectionUsage
-
trackQueryUsage
-
trackRescorerUsage
-
trackRetrieverUsage
-
clusterSupportsFeature
-