Class ES816BinaryQuantizedVectorsFormat

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

public class ES816BinaryQuantizedVectorsFormat extends AbstractFlatVectorsFormat
Copied from Lucene, replace with Lucene's implementation sometime after Lucene 10
  • Field Details

  • Constructor Details

    • ES816BinaryQuantizedVectorsFormat

      public ES816BinaryQuantizedVectorsFormat()
      Creates a new instance with the default number of vectors per cluster.
  • Method Details

    • flatVectorsScorer

      protected org.apache.lucene.codecs.hnsw.FlatVectorsScorer flatVectorsScorer()
      Specified by:
      flatVectorsScorer in class AbstractFlatVectorsFormat
    • 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