Interface Values<T>
- Type Parameters:
T- The type of values.
- All Known Implementing Classes:
DocumentReferenceValues,ExplanationValues,IdentifierValues,LuceneConstantProjection,LuceneFieldHighlightProjection.HighlighterValues,LuceneThrowingProjection,ScoreValues
public interface Values<T>
A generic accessor to per-document values.
-
Method Summary
-
Method Details
-
context
Sets the context to use for the next calls toget(int).- Parameters:
context- ALeafReaderContext.- Throws:
IOException- If an underlying I/O operation fails.
-
get
- Returns:
- The value for the given document in the current leaf.
- Throws:
IOException- If an underlying I/O operation fails.
-