Class NumericDocValues

    • Field Detail

      • EMPTY

        public static final NumericDocValues EMPTY
        An empty NumericDocValues which returns zero for every document
    • Method Detail

      • get

        public abstract long get​(int docID)
        Returns the numeric value for the specified document ID.
        Parameters:
        docID - document ID to lookup
        Returns:
        numeric value