Class QueryPhase

  • All Implemented Interfaces:
    SearchPhase

    public class QueryPhase
    extends java.lang.Object
    implements SearchPhase
    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
    • Constructor Summary

      Constructors 
      Constructor Description
      QueryPhase()  
    • Method Summary

      Modifier and Type Method Description
      void execute​(SearchContext searchContext)
      Executes the search phase
      void preProcess​(SearchContext context)
      Performs pre processing of the search context before the execute.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait