Class TopDocsAndMaxScore

java.lang.Object
org.elasticsearch.common.lucene.search.TopDocsAndMaxScore

public final class TopDocsAndMaxScore extends Object
Wrapper around a TopDocs instance and the maximum score.
  • Field Details

    • topDocs

      public final org.apache.lucene.search.TopDocs topDocs
    • maxScore

      public float maxScore
  • Constructor Details

    • TopDocsAndMaxScore

      public TopDocsAndMaxScore(org.apache.lucene.search.TopDocs topDocs, float maxScore)