We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06e84f4 commit aba3e55Copy full SHA for aba3e55
posting/index.go
@@ -196,8 +196,8 @@ func (mp *MutationPipeline) InsertTokenizerIndexes(ctx context.Context, pipeline
196
197
for _, token := range tokens {
198
key := x.IndexKey(pipeline.attr, token)
199
- pk, _ := x.Parse([]byte(key))
200
- fmt.Println("TOKENS", stringValue, i, numGo, pk)
+ //pk, _ := x.Parse([]byte(key))
+ //fmt.Println("TOKENS", stringValue, i, numGo, pk)
201
val, ok := localMap[string(key)]
202
if !ok {
203
val = &pb.PostingList{}
@@ -208,8 +208,8 @@ func (mp *MutationPipeline) InsertTokenizerIndexes(ctx context.Context, pipeline
208
}
209
210
for key, value := range localMap {
211
212
- fmt.Println("LOCAL MAP", pk, numGo, value)
+ //fmt.Println("LOCAL MAP", pk, numGo, value)
213
globalMap.Update(key, func(val *pb.PostingList, ok bool) *pb.PostingList {
214
if ok {
215
val.Postings = append(val.Postings, value.Postings...)
0 commit comments