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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanboolVal(int doc) bytebyteVal(int doc) abstract doubledoubleVal(int doc) floatfloatVal(int doc) getRangeScorer(LeafReaderContext readerContext, String lowerVal, String upperVal, boolean includeLower, boolean includeUpper) Yields aScorerthat matches documents with values between the specified range, and that which produces scores equal toFunctionValues.floatVal(int).intintVal(int doc) longlongVal(int doc) objectVal(int doc) Native Java Object representation of the valueshortshortVal(int doc) strVal(int doc) toString(int doc)
-
Field Details
-
vs
-
-
Constructor Details
-
DoubleDocValues
-
-
Method Details
-
byteVal
- Overrides:
byteValin classFunctionValues- Throws:
IOException
-
shortVal
- Overrides:
shortValin classFunctionValues- Throws:
IOException
-
floatVal
- Overrides:
floatValin classFunctionValues- Throws:
IOException
-
intVal
- Overrides:
intValin classFunctionValues- Throws:
IOException
-
longVal
- Overrides:
longValin classFunctionValues- Throws:
IOException
-
boolVal
- Overrides:
boolValin classFunctionValues- Throws:
IOException
-
doubleVal
- Overrides:
doubleValin classFunctionValues- Throws:
IOException
-
strVal
- Overrides:
strValin classFunctionValues- Throws:
IOException
-
objectVal
Description copied from class:FunctionValuesNative Java Object representation of the value- Overrides:
objectValin classFunctionValues- Throws:
IOException
-
toString
- Specified by:
toStringin classFunctionValues- Throws:
IOException
-
getRangeScorer
public ValueSourceScorer getRangeScorer(LeafReaderContext readerContext, String lowerVal, String upperVal, boolean includeLower, boolean includeUpper) Description copied from class:FunctionValuesYields aScorerthat matches documents with values between the specified range, and that which produces scores equal toFunctionValues.floatVal(int).- Overrides:
getRangeScorerin classFunctionValues
-
getValueFiller
- Overrides:
getValueFillerin classFunctionValues
-