java.lang.Object
org.apache.lucene.search.ScoreDoc
org.elasticsearch.search.rank.RankDoc
All Implemented Interfaces:
Writeable

public abstract class RankDoc extends org.apache.lucene.search.ScoreDoc implements Writeable
RankDoc is the base class for all ranked results. Subclasses should extend this with additional information required for their global ranking method.
  • Field Details

    • NO_RANK

      public static final int NO_RANK
      See Also:
    • rank

      public int rank
      If this document has been ranked, this is its final rrf ranking from all the result sets.
  • Constructor Details

  • Method Details