Interface DocIterationInfo

All Known Subinterfaces:
DocIterator

public interface DocIterationInfo
Information for the current document in the DocIterator.
  • Method Summary

    Modifier and Type
    Method
    Description
    default Float
    Returns the original query match score in case of rerank queries
    float
    Returns the score for the document just returned by nextDoc()
  • Method Details

    • score

      float score()
      Returns the score for the document just returned by nextDoc()

      The value returned may be meaningless depending on the context in which the DocIterator instance was retrieved.

    • originalScore

      default Float originalScore()
      Returns the original query match score in case of rerank queries
      Returns:
      the original query match score in case of a rerank query, null otherwise.