Class VectorFieldFunction
java.lang.Object
org.apache.lucene.queries.function.FunctionValues
org.apache.lucene.queries.function.valuesource.VectorFieldFunction
An implementation for retrieving
FunctionValues
instances for knn vectors fields.-
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
exists
(int doc) Returns true if there is a value for this documentprotected abstract DocIdSetIterator
toString
(int doc) Methods inherited from class org.apache.lucene.queries.function.FunctionValues
boolVal, bytesVal, byteVal, byteVal, byteVectorVal, cost, doubleVal, doubleVal, explain, floatVal, floatVal, floatVectorVal, getRangeScorer, getScorer, getValueFiller, intVal, intVal, longVal, longVal, numOrd, objectVal, ordVal, shortVal, shortVal, strVal, strVal
-
Field Details
-
valueSource
-
-
Constructor Details
-
VectorFieldFunction
-
-
Method Details
-
getVectorIterator
-
toString
- Specified by:
toString
in classFunctionValues
- Throws:
IOException
-
exists
Description copied from class:FunctionValues
Returns true if there is a value for this document- Overrides:
exists
in classFunctionValues
- Throws:
IOException
-