java.lang.Object
org.hibernate.search.backend.lucene.lowlevel.collector.impl.ScoreValues
All Implemented Interfaces:
Values<Float>

public class ScoreValues extends Object implements Values<Float>
  • 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<Float>
      Parameters:
      context - A LeafReaderContext.
      Throws:
      IOException - If an underlying I/O operation fails.
    • get

      public Float get(int doc) throws IOException
      Specified by:
      get in interface Values<Float>
      Returns:
      The value for the given document in the current leaf.
      Throws:
      IOException - If an underlying I/O operation fails.