Skip to content

Commit

Permalink
more commentary updates
Browse files Browse the repository at this point in the history
  • Loading branch information
metonymic-smokey committed Oct 18, 2024
1 parent e6259be commit bce3b0a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions faiss_vector_posting.go
Original file line number Diff line number Diff line change
Expand Up @@ -416,6 +416,13 @@ func (sb *SegmentBase) InterpretVectorIndex(field string, requiresFiltering bool

// Getting the vector IDs corresponding to the eligible
// doc IDs.
// The docVecIDMap maps each docID to vectorIDs corresponding
// to it.
// Usually, each docID has one vecID mapped to it unless
// the vector is nested, in which case there can be multiple
// vectorIDs mapped to the same docID.
// Eg. docID d1 -> vecID v1, for the first case
// d1 -> {v1,v2}, for the second case.
eligibleVecIDsBitmap := roaring.NewBitmap()
vecIDsUint32 := make([]uint32, 0)
for _, eligibleDocID := range eligibleDocIDs {
Expand Down

0 comments on commit bce3b0a

Please sign in to comment.