Module org.elasticsearch.server
Class RerankingRankFeaturePhaseRankShardContext
java.lang.Object
org.elasticsearch.search.rank.context.RankFeaturePhaseRankShardContext
org.elasticsearch.search.rank.rerank.RerankingRankFeaturePhaseRankShardContext
The
ReRankingRankFeaturePhaseRankShardContext is handles the SearchHits generated from the RankFeatureShardPhase
and builds the RankFeatureShardResult for the reranking phase, by reading the field info for the specified field during
construction.-
Field Summary
Fields inherited from class org.elasticsearch.search.rank.context.RankFeaturePhaseRankShardContext
field -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuildRankFeatureShardResult(SearchHits hits, int shardId) This is used to fetch the feature data for a given set of documents, using theFetchPhaseand theFetchFieldsPhasesubphase.Methods inherited from class org.elasticsearch.search.rank.context.RankFeaturePhaseRankShardContext
getField
-
Constructor Details
-
RerankingRankFeaturePhaseRankShardContext
-
-
Method Details
-
buildRankFeatureShardResult
Description copied from class:RankFeaturePhaseRankShardContextThis is used to fetch the feature data for a given set of documents, using theFetchPhaseand theFetchFieldsPhasesubphase. The feature data is then stored in aRankFeatureDocand passed back to the coordinator.- Specified by:
buildRankFeatureShardResultin classRankFeaturePhaseRankShardContext
-