Lucene102HnswBinaryQuantizedVectorsFormat
class Lucene102HnswBinaryQuantizedVectorsFormat(maxConn: Int = Lucene99HnswVectorsFormat.DEFAULT_MAX_CONN, beamWidth: Int = Lucene99HnswVectorsFormat.DEFAULT_BEAM_WIDTH, numMergeWorkers: Int = Lucene99HnswVectorsFormat.DEFAULT_NUM_MERGE_WORKER, mergeExec: ExecutorService? = null) : KnnVectorsFormat
A vectors format that uses HNSW graph to store and search for vectors. But vectors are binary quantized using Lucene102BinaryQuantizedVectorsFormat before being stored in the graph.
Constructors
Link copied to clipboard
constructor(maxConn: Int = Lucene99HnswVectorsFormat.DEFAULT_MAX_CONN, beamWidth: Int = Lucene99HnswVectorsFormat.DEFAULT_BEAM_WIDTH, numMergeWorkers: Int = Lucene99HnswVectorsFormat.DEFAULT_NUM_MERGE_WORKER, mergeExec: ExecutorService? = null)
Functions
Link copied to clipboard
Returns a KnnVectorsReader to read the vectors from the index.
Link copied to clipboard
Returns a KnnVectorsWriter to write the vectors to the index.
Link copied to clipboard
Returns the maximum number of vector dimensions supported by this codec for the given field name