Class ES94ScalarQuantizedVectorsFormat

java.lang.Object
org.apache.lucene.codecs.KnnVectorsFormat
org.apache.lucene.codecs.hnsw.FlatVectorsFormat
org.elasticsearch.index.codec.vectors.es94.ES94ScalarQuantizedVectorsFormat
All Implemented Interfaces:
org.apache.lucene.util.NamedSPILoader.NamedSPI

public class ES94ScalarQuantizedVectorsFormat extends org.apache.lucene.codecs.hnsw.FlatVectorsFormat
  • Constructor Details

    • ES94ScalarQuantizedVectorsFormat

      public ES94ScalarQuantizedVectorsFormat()
    • ES94ScalarQuantizedVectorsFormat

      public ES94ScalarQuantizedVectorsFormat(DenseVectorFieldMapper.ElementType elementType)
    • ES94ScalarQuantizedVectorsFormat

      public ES94ScalarQuantizedVectorsFormat(DenseVectorFieldMapper.ElementType elementType, int bits, boolean useDirectIO)
  • Method Details

    • fieldsWriter

      public org.apache.lucene.codecs.hnsw.FlatVectorsWriter fieldsWriter(org.apache.lucene.index.SegmentWriteState state) throws IOException
      Specified by:
      fieldsWriter in class org.apache.lucene.codecs.hnsw.FlatVectorsFormat
      Throws:
      IOException
    • fieldsReader

      public org.apache.lucene.codecs.hnsw.FlatVectorsReader fieldsReader(org.apache.lucene.index.SegmentReadState state) throws IOException
      Specified by:
      fieldsReader in class org.apache.lucene.codecs.hnsw.FlatVectorsFormat
      Throws:
      IOException
    • toString

      public String toString()
      Overrides:
      toString in class Object