Module org.elasticsearch.server
Class ES920DiskBBQVectorsWriter
java.lang.Object
org.apache.lucene.codecs.KnnVectorsWriter
org.elasticsearch.index.codec.vectors.diskbbq.IVFVectorsWriter
org.elasticsearch.index.codec.vectors.diskbbq.ES920DiskBBQVectorsWriter
- All Implemented Interfaces:
Closeable,AutoCloseable,org.apache.lucene.util.Accountable
Default implementation of
IVFVectorsWriter. It uses HierarchicalKMeans algorithm to
partition the vector space, and then stores the centroids and posting list in a sequential
fashion.-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.lucene.codecs.KnnVectorsWriter
org.apache.lucene.codecs.KnnVectorsWriter.MergedVectorValues -
Field Summary
Fields inherited from interface org.apache.lucene.util.Accountable
NULL_ACCOUNTABLE -
Constructor Summary
ConstructorsConstructorDescriptionES920DiskBBQVectorsWriter(String rawVectorFormatName, org.apache.lucene.index.SegmentWriteState state, org.apache.lucene.codecs.hnsw.FlatVectorsWriter rawVectorDelegate, int vectorPerCluster, int centroidsPerParentCluster) -
Method Summary
Methods inherited from class org.elasticsearch.index.codec.vectors.diskbbq.IVFVectorsWriter
addField, close, finish, flush, mergeOneField, ramBytesUsedMethods inherited from class org.apache.lucene.codecs.KnnVectorsWriter
mapOldOrdToNewOrd, mergeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.lucene.util.Accountable
getChildResources
-
Constructor Details
-
ES920DiskBBQVectorsWriter
public ES920DiskBBQVectorsWriter(String rawVectorFormatName, org.apache.lucene.index.SegmentWriteState state, org.apache.lucene.codecs.hnsw.FlatVectorsWriter rawVectorDelegate, int vectorPerCluster, int centroidsPerParentCluster) throws IOException - Throws:
IOException
-