Class FeatureDoubleValuesSource.FeatureDoubleValues

    • Field Detail

      • currentReaderPostingsValues

        private final PostingsEnum currentReaderPostingsValues
    • Constructor Detail

      • FeatureDoubleValues

        public FeatureDoubleValues​(PostingsEnum currentReaderPostingsValues)
                            throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • doubleValue

        public double doubleValue()
                           throws java.io.IOException
        Description copied from class: DoubleValues
        Get the double value for the current document
        Specified by:
        doubleValue in class DoubleValues
        Throws:
        java.io.IOException
      • advanceExact

        public boolean advanceExact​(int doc)
                             throws java.io.IOException
        Description copied from class: DoubleValues
        Advance this instance to the given document id
        Specified by:
        advanceExact in class DoubleValues
        Returns:
        true if there is a value for this document
        Throws:
        java.io.IOException