Class DfsPhase

  • All Implemented Interfaces:
    SearchPhase

    public class DfsPhase
    extends java.lang.Object
    implements SearchPhase
    Dfs phase of a search request, used to make scoring 100% accurate by collecting additional info from each shard before the query phase. The additional information is used to better compare the scores coming from all the shards, which depend on local factors (e.g. idf)
    • Constructor Summary

      Constructors 
      Constructor Description
      DfsPhase()  
    • Method Summary

      Modifier and Type Method Description
      void execute​(SearchContext context)
      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
    • Constructor Detail

      • DfsPhase

        public DfsPhase()