Class ExplanationValues
java.lang.Object
org.hibernate.search.backend.lucene.lowlevel.collector.impl.ExplanationValues
- All Implemented Interfaces:
Values<org.apache.lucene.search.Explanation>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcontext(org.apache.lucene.index.LeafReaderContext context) Sets the context to use for the next calls toValues.get(int).org.apache.lucene.search.Explanationget(int doc)
-
Constructor Details
-
ExplanationValues
-
-
Method Details
-
context
Description copied from interface:ValuesSets the context to use for the next calls toValues.get(int).- Specified by:
contextin interfaceValues<org.apache.lucene.search.Explanation>- Parameters:
context- ALeafReaderContext.- Throws:
IOException- If an underlying I/O operation fails.
-
get
- Specified by:
getin interfaceValues<org.apache.lucene.search.Explanation>- Returns:
- The value for the given document in the current leaf.
- Throws:
IOException- If an underlying I/O operation fails.
-