java.lang.Object
org.hibernate.search.backend.lucene.lowlevel.collector.impl.ExplanationValues
All Implemented Interfaces:
Values<org.apache.lucene.search.Explanation>

public final class ExplanationValues extends Object implements Values<org.apache.lucene.search.Explanation>
  • Constructor Details

  • Method Details

    • context

      public void context(org.apache.lucene.index.LeafReaderContext context) throws IOException
      Description copied from interface: Values
      Sets the context to use for the next calls to Values.get(int).
      Specified by:
      context in interface Values<org.apache.lucene.search.Explanation>
      Parameters:
      context - A LeafReaderContext.
      Throws:
      IOException - If an underlying I/O operation fails.
    • get

      public org.apache.lucene.search.Explanation get(int doc) throws IOException
      Specified by:
      get in interface Values<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.