Module org.elasticsearch.server
Package org.elasticsearch.search.rank.rerank
package org.elasticsearch.search.rank.rerank
-
ClassesClassDescriptionThe
RerankingQueryPhaseRankCoordinatorContextprovides the main functionality for sorting the initial query phase results based on their score, and trim them down to a global `rank_window_size`-sized list.TheRerankingQueryPhaseRankShardContextis responsible for combining the different shard-level query results, and then pack them to aRankFeatureShardResultto return to the coordinator.TheReRankingRankFeaturePhaseRankShardContextis handles theSearchHitsgenerated from theRankFeatureShardPhaseand builds theRankFeatureShardResultfor the reranking phase, by reading the field info for the specifiedfieldduring construction.