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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanexists(int doc) Returns true if there is a value for this documentprotected abstract DocIdSetIteratortoString(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:
toStringin classFunctionValues- Throws:
IOException
-
exists
Description copied from class:FunctionValuesReturns true if there is a value for this document- Overrides:
existsin classFunctionValues- Throws:
IOException
-