Class AbstractFlatVectorsFormat

java.lang.Object
org.apache.lucene.codecs.KnnVectorsFormat
org.apache.lucene.codecs.hnsw.FlatVectorsFormat
org.elasticsearch.index.codec.vectors.AbstractFlatVectorsFormat
All Implemented Interfaces:
org.apache.lucene.util.NamedSPILoader.NamedSPI
Direct Known Subclasses:
DirectIOCapableFlatVectorsFormat, ES816BinaryQuantizedVectorsFormat, ES818BinaryQuantizedVectorsFormat, ES93BinaryQuantizedVectorsFormat, ES93GenericFlatVectorsFormat

public abstract class AbstractFlatVectorsFormat extends org.apache.lucene.codecs.hnsw.FlatVectorsFormat
  • Field Summary

    Fields inherited from class org.apache.lucene.codecs.KnnVectorsFormat

    DEFAULT_MAX_DIMENSIONS, EMPTY
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
     
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract org.apache.lucene.codecs.hnsw.FlatVectorsScorer
     
    int
     
     

    Methods inherited from class org.apache.lucene.codecs.hnsw.FlatVectorsFormat

    fieldsReader, fieldsWriter

    Methods inherited from class org.apache.lucene.codecs.KnnVectorsFormat

    availableKnnVectorsFormats, forName, getName, reloadKnnVectorsFormat

    Methods inherited from class java.lang.Object

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

    • AbstractFlatVectorsFormat

      protected AbstractFlatVectorsFormat(String name)
  • Method Details

    • flatVectorsScorer

      public abstract org.apache.lucene.codecs.hnsw.FlatVectorsScorer flatVectorsScorer()
    • getMaxDimensions

      public int getMaxDimensions(String fieldName)
      Overrides:
      getMaxDimensions in class org.apache.lucene.codecs.hnsw.FlatVectorsFormat
    • toString

      public String toString()
      Overrides:
      toString in class Object