Package org.opensearch.search.query
package org.opensearch.search.query
Base Query Listeners package.
-
ClassDescriptionThe implementation of the
QueryPhaseSearcher
which attempts to use concurrent search of Apache Lucene segments if it has been enabled.ACollector
that early terminates collection aftermaxCountHits
docs have been collected.EarlyTerminatingCollectorManager<C extends org.apache.lucene.search.Collector>Manager for the EarlyTerminatingCollectorEarly termination event listener.Wraps MultiCollector and provide access to underlying collectors.The context used during query collectionContext used for the query collector managerQuery phase of a search request, used to run the query and get back from each shard information about the matching documents (document ids and score or sort criteria) so that matches can be reduced on the coordinating nodeDefaultQueryPhaseSearcher
implementation which delegates to theQueryPhase
.The exception being raised when search timeout is reached.Thrown if there are any errors in the query phaseThe extension point which allows to plug in custom search implementation to be used atQueryPhase
.Wrapper class for QueryPhaseSearcher that handles path selection for concurrent vs non-concurrent search query phase and aggregation processor.Transport request for query searchThe result of the query searchThe search result callback returned by reduce phase of the collector manager.Scrolled results from a query search requestAQueryCollectorContext
that creates top docs collectorCollectorManager for the TotalHitCountCollector