Skip to content

Commit 8a2dad2

Browse files
added changes
1 parent b66cfc6 commit 8a2dad2

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
@@ -6,6 +6,7 @@ package partitioned_hnsw
66
import (
77
"context"
88
"errors"
9+
"fmt"
910
"sync"
1011

1112
c "github.com/hypermodeinc/dgraph/v25/tok/constraints"
@@ -158,6 +159,7 @@ func (ph *partitionedHNSW[T]) Search(ctx context.Context, txn index.CacheType, q
158159
defer wg.Done()
159160
ids, err := ph.clusterMap[i].Search(ctx, txn, query, maxResults, filter)
160161
if err != nil {
162+
fmt.Println("Error", err)
161163
return
162164
}
163165
mutex.Lock()

0 commit comments

Comments
 (0)