Class DefaultIVFVectorsReader

java.lang.Object
org.apache.lucene.codecs.KnnVectorsReader
org.elasticsearch.index.codec.vectors.IVFVectorsReader
org.elasticsearch.index.codec.vectors.DefaultIVFVectorsReader
All Implemented Interfaces:
Closeable, AutoCloseable, OffHeapStats

public class DefaultIVFVectorsReader extends IVFVectorsReader implements OffHeapStats
Default implementation of IVFVectorsReader. It scores the posting lists centroids using brute force and then scores the top ones using the posting list.
  • Constructor Details

    • DefaultIVFVectorsReader

      public DefaultIVFVectorsReader(org.apache.lucene.index.SegmentReadState state, org.apache.lucene.codecs.hnsw.FlatVectorsReader rawVectorsReader) throws IOException
      Throws:
      IOException
  • Method Details