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:
DirectIOLucene99FlatVectorsFormat, ES816BinaryQuantizedVectorsFormat, ES818BinaryQuantizedVectorsFormat

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

    Fields
    Modifier and Type
    Field
    Description
    static final boolean
     

    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
    protected 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
  • Field Details

    • USE_DIRECT_IO

      public static final boolean USE_DIRECT_IO
  • Constructor Details

    • AbstractFlatVectorsFormat

      protected AbstractFlatVectorsFormat(String name)
  • Method Details

    • flatVectorsScorer

      protected 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