Class LongValues


  • public abstract class LongValues
    extends Object
    Per-segment, per-document long values, which can be calculated at search-time
    • Constructor Detail

      • LongValues

        public LongValues()
    • Method Detail

      • longValue

        public abstract long longValue()
                                throws IOException
        Get the long value for the current document
        Throws:
        IOException
      • advanceExact

        public abstract boolean advanceExact​(int doc)
                                      throws IOException
        Advance this instance to the given document id
        Returns:
        true if there is a value for this document
        Throws:
        IOException