Module org.elasticsearch.server
Package org.elasticsearch.action.search
package org.elasticsearch.action.search
Search action.
-
ClassDescriptionNode-level request used during can-match phaseUse this progress listener for cross-cluster searches where a single coordinator is used for all clusters (minimize_roundtrips=false).A collector that computes the maximum score.A multi search API request.A request builder for multiple search requests.A multi search response.A search response item, holding the actual search response, or an error message if it failed.A
ArraySearchPhaseResults
implementation that incrementally reduces aggregation results as shard results are consumed.A failure during a reduce phase (when receiving results from several shards, and reducing them into one or more results and possible actions).A wrapper of search action listeners (search results) that unwraps the query result to get the piggybacked queue size and service time EWMA, adding those values to the coordinating nodes'ResponseCollectorService
.AnActionListener
for search requests that allows to track progress of theTransportSearchAction
.A listener that allows to track progress of theTransportSearchAction
.A request to execute search against one or more indices (or all).A search action request builder.A response of a search request.Represents the search metadata about a particular cluster involved in a cross-cluster search.Since the Cluster object is immutable, use this Builder class to create a new Cluster object using the "copyFrom" Cluster passed in and set only changed values.Marks the status of a Cluster search involved in a Cross-Cluster search.Holds info about the clusters that the search was executed on: how many in total, how many of them were successful and how many of them were skipped and further details in a Map of Cluster objects (when doing a cross-cluster search).Merges multiple search responses into one.Holds some sections that a search response is composed of (hits, aggs, suggestions etc.) during some steps of the search response building.A search scroll action request builder.A class that encapsulates theShardId
and the cluster alias of a shard used during the search action.Extension ofPlainShardIterator
used in the search api, which also holds theOriginalIndices
of the search request (useful especially with cross-cluster search, as each cluster has its own set of original indices) as well as the cluster alias.Represents a group of nodes that a given ShardId is allocated on, along with information about whether this group might match the query or not.A request to find the list of target shards that might match the query for the given target indices.A response ofSearchShardsRequest
which contains the target shards grouped byShardId
Task storing information about a currently running search shard request.Task storing information about a currently runningSearchRequest
.An encapsulation ofSearchService
operations exposed through transport.Search type represent the manner at which the search operation is executed.Represents a failure to search on a specific shard.Search operations need two clocks.An internal search shards API performs the can_match phase and returns target shards of indices that might match a query.