java.lang.Object
org.apache.lucene.search.DoubleValues
org.elasticsearch.index.fielddata.DenseDoubleValues
public abstract class DenseDoubleValues
extends org.apache.lucene.search.DoubleValues
DoubleValues implementation that is guaranteed to have a value
for every document in a reader
-
Field Summary
Fields inherited from class org.apache.lucene.search.DoubleValues
EMPTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanadvanceExact(int doc) static org.apache.lucene.index.NumericDocValuesasNumericDocValues(DenseDoubleValues in, int maxDoc, DoubleToLongFunction converter) Represent a DenseDoubleValues as a NumericDocValues instanceprotected abstract voiddoAdvanceExact(int doc) Methods inherited from class org.apache.lucene.search.DoubleValues
doubleValue, withDefault
-
Constructor Details
-
DenseDoubleValues
public DenseDoubleValues()
-
-
Method Details
-
advanceExact
- Specified by:
advanceExactin classorg.apache.lucene.search.DoubleValues- Throws:
IOException
-
doAdvanceExact
- Throws:
IOException
-
asNumericDocValues
public static org.apache.lucene.index.NumericDocValues asNumericDocValues(DenseDoubleValues in, int maxDoc, DoubleToLongFunction converter) Represent a DenseDoubleValues as a NumericDocValues instance- Parameters:
in- the DenseDoubleValues to wrapmaxDoc- the maxDoc of the current readerconverter- a function to convert the double-valued output of DenseDoubleValues to a long
-