Class ES93GenericFlatVectorsFormat

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.es93.ES93GenericFlatVectorsFormat
All Implemented Interfaces:
org.apache.lucene.util.NamedSPILoader.NamedSPI

public class ES93GenericFlatVectorsFormat extends AbstractFlatVectorsFormat
  • Field Details

  • Constructor Details

    • ES93GenericFlatVectorsFormat

      public ES93GenericFlatVectorsFormat()
    • ES93GenericFlatVectorsFormat

      public ES93GenericFlatVectorsFormat(DenseVectorFieldMapper.ElementType elementType, boolean useDirectIO)
  • Method Details

    • flatVectorsScorer

      public 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
    • toString

      public String toString()
      Overrides:
      toString in class AbstractFlatVectorsFormat