Class ExplanationValues
- java.lang.Object
-
- org.hibernate.search.backend.lucene.lowlevel.collector.impl.ExplanationValues
-
-
Constructor Summary
Constructors Constructor Description ExplanationValues(TopDocsDataCollectorExecutionContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcontext(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 Detail
-
ExplanationValues
public ExplanationValues(TopDocsDataCollectorExecutionContext context)
-
-
Method Detail
-
context
public void context(org.apache.lucene.index.LeafReaderContext context) throws IOExceptionDescription 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
public org.apache.lucene.search.Explanation get(int doc) throws IOException- 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.
-
-