Class DfsPhase

java.lang.Object
org.elasticsearch.search.dfs.DfsPhase

public class DfsPhase extends Object
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). When a kNN search is provided alongside the query, the DFS phase is also used to gather the top k candidates from each shard. Then the global top k hits are passed on to the query phase.
  • Constructor Details

    • DfsPhase

      public DfsPhase()
  • Method Details