Package org.apache.lucene.search
Class LongValues
java.lang.Object
org.apache.lucene.search.LongValues
Per-segment, per-document long values, which can be calculated at search-time
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract boolean
advanceExact
(int doc) Advance this instance to the given document idabstract long
Get the long value for the current document
-
Constructor Details
-
LongValues
public LongValues()
-
-
Method Details
-
longValue
Get the long value for the current document- Throws:
IOException
-
advanceExact
Advance this instance to the given document id- Returns:
- true if there is a value for this document
- Throws:
IOException
-