Module org.elasticsearch.server
Class BFloat16VectorValues
java.lang.Object
org.apache.lucene.index.KnnVectorValues
org.apache.lucene.index.FloatVectorValues
org.elasticsearch.index.codec.vectors.es93.BFloat16VectorValues
- Direct Known Subclasses:
OffHeapBFloat16VectorValues
public abstract class BFloat16VectorValues
extends org.apache.lucene.index.FloatVectorValues
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.lucene.index.KnnVectorValues
org.apache.lucene.index.KnnVectorValues.DocIndexIterator -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract byte[]bfloat16VectorBytes(int targetOrd) Returns the bfloat16 vector bytes for the given ordinal.Methods inherited from class org.apache.lucene.index.FloatVectorValues
checkField, copy, fromFloats, getEncoding, rescorer, scorer, vectorValueMethods inherited from class org.apache.lucene.index.KnnVectorValues
createDenseIterator, createSparseIterator, dimension, fromDISI, getAcceptOrds, getVectorByteLength, iterator, ordToDoc, size
-
Constructor Details
-
BFloat16VectorValues
public BFloat16VectorValues()
-
-
Method Details
-
bfloat16VectorBytes
Returns the bfloat16 vector bytes for the given ordinal.- Throws:
IOException
-