Skip to content

Commit

Permalink
fixed naming
Browse files Browse the repository at this point in the history
  • Loading branch information
metonymic-smokey committed Aug 26, 2024
1 parent 5297b38 commit f0b121e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions faiss_vector_posting.go
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ func (i *vectorIndexWrapper) Size() uint64 {
// (2) search limited to a subset of documents within an attached vector index
// (3) close attached vector index
// (4) get the size of the attached vector index
func (sb *SegmentBase) InterpretVectorIndex(field string, filtered bool,
func (sb *SegmentBase) InterpretVectorIndex(field string, requiresFiltering bool,
except *roaring.Bitmap) (
segment.VectorIndex, error) {
// Params needed for the closures
Expand Down Expand Up @@ -441,7 +441,8 @@ func (sb *SegmentBase) InterpretVectorIndex(field string, filtered bool,
}

vecIndex, vecDocIDMap, docVecIDMap, vectorIDsToExclude, err =
sb.vecIndexCache.loadOrCreate(fieldIDPlus1, sb.mem[pos:], filtered, except)
sb.vecIndexCache.loadOrCreate(fieldIDPlus1, sb.mem[pos:], requiresFiltering,
except)

if vecIndex != nil {
vecIndexSize = vecIndex.Size()
Expand Down

0 comments on commit f0b121e

Please sign in to comment.