Class DoubleDocValues
java.lang.Object
org.apache.lucene.queries.function.FunctionValues
org.apache.lucene.queries.function.docvalues.DoubleDocValues
Abstract
FunctionValues
implementation which supports retrieving double values.
Implementations can control how the double values are loaded through doubleVal(int)
}-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.lucene.queries.function.FunctionValues
FunctionValues.ValueFiller
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolVal
(int doc) byte
byteVal
(int doc) abstract double
doubleVal
(int doc) float
floatVal
(int doc) getRangeScorer
(Weight weight, LeafReaderContext readerContext, String lowerVal, String upperVal, boolean includeLower, boolean includeUpper) Yields aScorer
that matches documents with values between the specified range, and that which produces scores equal toFunctionValues.floatVal(int)
.int
intVal
(int doc) long
longVal
(int doc) objectVal
(int doc) Native Java Object representation of the valueshort
shortVal
(int doc) strVal
(int doc) toString
(int doc)
-
Field Details
-
vs
-
-
Constructor Details
-
DoubleDocValues
-
-
Method Details
-
byteVal
- Overrides:
byteVal
in classFunctionValues
- Throws:
IOException
-
shortVal
- Overrides:
shortVal
in classFunctionValues
- Throws:
IOException
-
floatVal
- Overrides:
floatVal
in classFunctionValues
- Throws:
IOException
-
intVal
- Overrides:
intVal
in classFunctionValues
- Throws:
IOException
-
longVal
- Overrides:
longVal
in classFunctionValues
- Throws:
IOException
-
boolVal
- Overrides:
boolVal
in classFunctionValues
- Throws:
IOException
-
doubleVal
- Overrides:
doubleVal
in classFunctionValues
- Throws:
IOException
-
strVal
- Overrides:
strVal
in classFunctionValues
- Throws:
IOException
-
objectVal
Description copied from class:FunctionValues
Native Java Object representation of the value- Overrides:
objectVal
in classFunctionValues
- Throws:
IOException
-
toString
- Specified by:
toString
in classFunctionValues
- Throws:
IOException
-
getRangeScorer
public ValueSourceScorer getRangeScorer(Weight weight, LeafReaderContext readerContext, String lowerVal, String upperVal, boolean includeLower, boolean includeUpper) Description copied from class:FunctionValues
Yields aScorer
that matches documents with values between the specified range, and that which produces scores equal toFunctionValues.floatVal(int)
.- Overrides:
getRangeScorer
in classFunctionValues
-
getValueFiller
- Overrides:
getValueFiller
in classFunctionValues
-