- All Known Subinterfaces:
MultiBFloat16VectorsSource,MultiByteVectorsSource,MultiFloatVectorsSource
public interface MultiVectorsSource<T>
Source for a single document's multi-vector values.
Implementations provide both a contiguous encoded representation via vectorBytes()
for bulk/native scoring paths and an iterator view via vectorValues() for scalar
fallback paths.
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.lucene.util.BytesRefEncoded vector bytes for all vectors in this source, ornullif only iterator access is available.intEncoded byte size per vector.intNumber of vectors available in this source.intDimensions per vector in this source.Iterator over decoded vectors for scalar scoring paths.
-
Method Details
-
vectorBytes
org.apache.lucene.util.BytesRef vectorBytes()Encoded vector bytes for all vectors in this source, ornullif only iterator access is available. -
vectorCount
int vectorCount()Number of vectors available in this source. -
vectorDims
int vectorDims()Dimensions per vector in this source. -
vectorByteSize
int vectorByteSize()Encoded byte size per vector. -
vectorValues
Iterator over decoded vectors for scalar scoring paths.
-