Skip to content

Commit 20a3b94

Browse files
added changes
1 parent 280dbb1 commit 20a3b94

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tok/partitioned_hnsw/partitioned_hnsw.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,11 +163,13 @@ func (ph *partitionedHNSW[T]) Search(ctx context.Context, txn index.CacheType, q
163163
return
164164
}
165165
mutex.Lock()
166+
fmt.Println("Addign result:", ids)
166167
res = append(res, ids...)
167168
mutex.Unlock()
168169
}(index)
169170
}
170171
wg.Wait()
172+
fmt.Println("Result:", res)
171173
return ph.clusterMap[0].MergeResults(ctx, txn, res, query, maxResults, filter)
172174
}
173175

0 commit comments

Comments
 (0)