Class LegacyQuantizedByteVectorValues
java.lang.Object
org.apache.lucene.index.KnnVectorValues
org.apache.lucene.index.ByteVectorValues
org.apache.lucene.util.quantization.BaseQuantizedByteVectorValues
org.apache.lucene.util.quantization.LegacyQuantizedByteVectorValues
- All Implemented Interfaces:
HasIndexSlice
A version of
BaseQuantizedByteVectorValues, but additionally retrieving score correction
offset for Scalar quantization scores.- WARNING: This API is experimental and might change in incompatible ways in the next release.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.lucene.index.KnnVectorValues
KnnVectorValues.DocIndexIterator -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()Creates a new copy of thisKnnVectorValues.abstract floatgetScoreCorrectionConstant(int ord) Methods inherited from class org.apache.lucene.util.quantization.BaseQuantizedByteVectorValues
getSlice, scorerMethods inherited from class org.apache.lucene.index.ByteVectorValues
checkField, fromBytes, getEncoding, rescorer, scorer, vectorValueMethods inherited from class org.apache.lucene.index.KnnVectorValues
createDenseIterator, createSparseIterator, dimension, fromDISI, getAcceptOrds, getVectorByteLength, iterator, ordToDoc, prefetch, size
-
Constructor Details
-
LegacyQuantizedByteVectorValues
public LegacyQuantizedByteVectorValues()
-
-
Method Details
-
getScalarQuantizer
-
getScoreCorrectionConstant
- Throws:
IOException
-
copy
Description copied from class:KnnVectorValuesCreates a new copy of thisKnnVectorValues. This is helpful when you need to access different values at once, to avoid overwriting the underlying vector returned.- Specified by:
copyin classByteVectorValues- Throws:
IOException
-