Package org.elasticsearch.search.query
Class QueryPhase
java.lang.Object
org.elasticsearch.search.query.QueryPhase
Query 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 node
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
execute(SearchContext searchContext)
void
preProcess(SearchContext context)
-
Field Details
-
SYS_PROP_REWRITE_SORT
public static final boolean SYS_PROP_REWRITE_SORT
-
-
Constructor Details
-
QueryPhase
public QueryPhase()
-
-
Method Details
-
preProcess
-
execute
- Throws:
QueryPhaseExecutionException
-