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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract 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, vectorValue

    Methods inherited from class org.apache.lucene.index.KnnVectorValues

    createDenseIterator, createSparseIterator, dimension, fromDISI, getAcceptOrds, getVectorByteLength, iterator, ordToDoc, size

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • BFloat16VectorValues

      public BFloat16VectorValues()
  • Method Details

    • bfloat16VectorBytes

      public abstract byte[] bfloat16VectorBytes(int targetOrd) throws IOException
      Returns the bfloat16 vector bytes for the given ordinal.
      Throws:
      IOException