Package org.apache.lucene.index
Class NumericDocValues
java.lang.Object
org.apache.lucene.index.NumericDocValues
- Direct Known Subclasses:
LongValues
,PackedInts.Reader
A per-document numeric value.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final NumericDocValues
An empty NumericDocValues which returns zero for every document -
Method Summary
Modifier and TypeMethodDescriptionabstract long
get
(int docID) Returns the numeric value for the specified document ID.
-
Field Details
-
EMPTY
An empty NumericDocValues which returns zero for every document
-
-
Method Details
-
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
-