diff --git a/faiss_vector_test.go b/faiss_vector_test.go index 223b692b..e81da018 100644 --- a/faiss_vector_test.go +++ b/faiss_vector_test.go @@ -486,7 +486,7 @@ func TestVectorSegment(t *testing.T) { hitDocIDs := []uint64{2, 9, 9} hitVecs := [][]float32{data[0], data[7][0:3], data[7][3:6]} if vecSeg, ok := segOnDisk.(segment.VectorSegment); ok { - vecIndex, err := vecSeg.InterpretVectorIndex("stubVec", nil) + vecIndex, err := vecSeg.InterpretVectorIndex("stubVec", false, nil) if err != nil { t.Fatal(err) } @@ -580,7 +580,7 @@ func TestPersistedVectorSegment(t *testing.T) { hitDocIDs := []uint64{2, 9, 9} hitVecs := [][]float32{data[0], data[7][0:3], data[7][3:6]} if vecSeg, ok := segOnDisk.(segment.VectorSegment); ok { - vecIndex, err := vecSeg.InterpretVectorIndex("stubVec", nil) + vecIndex, err := vecSeg.InterpretVectorIndex("stubVec", false, nil) if err != nil { t.Fatal(err) }