addReader
abstract fun addReader(reader: KnnVectorsReader, docMap: MergeState.DocMap, liveDocs: Bits?): HnswGraphMerger
Adds a reader to the graph merger to record the state
Return
this
Parameters
reader
KnnVectorsReader to add to the merger
docMap
MergeState.DocMap for the reader
liveDocs
Bits representing live docs, can be null
Throws
IOException
If an error occurs while reading from the merge state