From 0194e61f1d4e64fb2fce1500f70535447ea2e8c1 Mon Sep 17 00:00:00 2001 From: Aditi Ahuja Date: Fri, 5 Jan 2024 11:32:15 +0530 Subject: [PATCH] fixed commentary --- section_faiss_vector_index.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/section_faiss_vector_index.go b/section_faiss_vector_index.go index d21506ae..4df6af62 100644 --- a/section_faiss_vector_index.go +++ b/section_faiss_vector_index.go @@ -287,10 +287,9 @@ func (v *vectorIndexOpaque) mergeAndWriteVectorIndexes(fieldID int, sbs []*Segme var finalVecIDs []int64 - // merging of indexes with reconstruction - // method. the indexes[i].vecIds is such that it has only the valid vecs - // of this vector index present in it, so we'd be reconstructed only the - // valid ones. + // merging of indexes with reconstruction method. + // the indexes[i].vecIds has only the valid vecs of this vector + // index present in it, so we'd be reconstructing only those. var indexData []float32 for i := 0; i < len(vecIndexes); i++ { if isClosed(closeCh) {