Skip to content

Commit 6a92657

Browse files
added changes
1 parent 4fa1f83 commit 6a92657

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

tok/partitioned_hnsw/partitioned_hnsw.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ package partitioned_hnsw
66
import (
77
"context"
88
"errors"
9-
"fmt"
109
"sync"
1110

1211
c "github.com/hypermodeinc/dgraph/v25/tok/constraints"
@@ -159,17 +158,14 @@ func (ph *partitionedHNSW[T]) Search(ctx context.Context, txn index.CacheType, q
159158
defer wg.Done()
160159
ids, err := ph.clusterMap[i].Search(ctx, txn, query, maxResults, filter)
161160
if err != nil {
162-
fmt.Println("Error", err)
163161
return
164162
}
165163
mutex.Lock()
166-
fmt.Println("Addign result:", ids)
167164
res = append(res, ids...)
168165
mutex.Unlock()
169166
}(index)
170167
}
171168
wg.Wait()
172-
fmt.Println("Result:", res, indexes)
173169
return ph.clusterMap[0].MergeResults(ctx, txn, res, query, maxResults, filter)
174170
}
175171

0 commit comments

Comments
 (0)