Class RescoreDocIds

java.lang.Object
org.elasticsearch.search.RescoreDocIds
All Implemented Interfaces:
Writeable

public final class RescoreDocIds extends Object implements Writeable
Since SearchContext no longer hold the states of search, the top K results (i.e., documents that will be rescored by query rescorers) need to be serialized/ deserialized between search phases. A RescoreDocIds encapsulates the top K results for each rescorer by its ordinal index.