Skip to content

Commit

Permalink
fixed commentary
Browse files Browse the repository at this point in the history
  • Loading branch information
metonymic-smokey committed Jan 5, 2024
1 parent 53bdc9c commit 0194e61
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions section_faiss_vector_index.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 0194e61

Please sign in to comment.