Package org.opensearch.search.query
Class QueryCollectorManagerContext
java.lang.Object
org.opensearch.search.query.QueryCollectorManagerContext
Context used for the query collector manager
- Opensearch.internal:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.lucene.search.CollectorManager
<? extends org.apache.lucene.search.Collector, ReduceableSearchResult> createMultiCollectorManager
(List<org.apache.lucene.search.CollectorManager<?, ReduceableSearchResult>> managers) static org.apache.lucene.search.CollectorManager
<? extends org.apache.lucene.search.Collector, ReduceableSearchResult> createQueryCollectorManager
(List<QueryCollectorContext> collectorContexts) Create queryCollectorManager
tree using the provided query collector contextsstatic ProfileCollectorManager
<? extends org.apache.lucene.search.Collector, ReduceableSearchResult>
-
Constructor Details
-
QueryCollectorManagerContext
public QueryCollectorManagerContext()
-
-
Method Details
-
createQueryCollectorManager
public static org.apache.lucene.search.CollectorManager<? extends org.apache.lucene.search.Collector,ReduceableSearchResult> createQueryCollectorManager(List<QueryCollectorContext> collectorContexts) throws IOException Create queryCollectorManager
tree using the provided query collector contexts- Parameters:
collectorContexts
- list ofQueryCollectorContext
- Returns:
CollectorManager
representing the manager tree for the query- Throws:
IOException
-
createMultiCollectorManager
public static org.apache.lucene.search.CollectorManager<? extends org.apache.lucene.search.Collector,ReduceableSearchResult> createMultiCollectorManager(List<org.apache.lucene.search.CollectorManager<?, ReduceableSearchResult>> managers) -
createQueryCollectorManagerWithProfiler
public static ProfileCollectorManager<? extends org.apache.lucene.search.Collector,ReduceableSearchResult> createQueryCollectorManagerWithProfiler(List<QueryCollectorContext> collectors) throws IOException - Throws:
IOException
-