Class QueryPhaseRankCoordinatorContext

java.lang.Object
org.elasticsearch.search.rank.context.QueryPhaseRankCoordinatorContext
Direct Known Subclasses:
RerankingQueryPhaseRankCoordinatorContext

public abstract class QueryPhaseRankCoordinatorContext extends Object
QueryPhaseRankCoordinatorContext is running on the coordinator node and is responsible for combining the query phase results from the shards and rank them accordingly. The output is a `rank_window_size` ranked list of ordered results from all shards. Note: Currently this can use only sort by score; sort by field is not supported.
  • Field Details

    • rankWindowSize

      protected final int rankWindowSize
  • Constructor Details

    • QueryPhaseRankCoordinatorContext

      public QueryPhaseRankCoordinatorContext(int rankWindowSize)
  • Method Details