Interface DocIterationInfo

All Known Subinterfaces:
DocIterator
All Known Implementing Classes:
DocIterationInfo.NoDocIterationInfo

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

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final DocIterationInfo
     
  • 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()
  • Field Details

  • 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.