Skip to content

Commit aba3e55

Browse files
added filter for vector lengths
1 parent 06e84f4 commit aba3e55

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

posting/index.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -196,8 +196,8 @@ func (mp *MutationPipeline) InsertTokenizerIndexes(ctx context.Context, pipeline
196196

197197
for _, token := range tokens {
198198
key := x.IndexKey(pipeline.attr, token)
199-
pk, _ := x.Parse([]byte(key))
200-
fmt.Println("TOKENS", stringValue, i, numGo, pk)
199+
//pk, _ := x.Parse([]byte(key))
200+
//fmt.Println("TOKENS", stringValue, i, numGo, pk)
201201
val, ok := localMap[string(key)]
202202
if !ok {
203203
val = &pb.PostingList{}
@@ -208,8 +208,8 @@ func (mp *MutationPipeline) InsertTokenizerIndexes(ctx context.Context, pipeline
208208
}
209209

210210
for key, value := range localMap {
211-
pk, _ := x.Parse([]byte(key))
212-
fmt.Println("LOCAL MAP", pk, numGo, value)
211+
//pk, _ := x.Parse([]byte(key))
212+
//fmt.Println("LOCAL MAP", pk, numGo, value)
213213
globalMap.Update(key, func(val *pb.PostingList, ok bool) *pb.PostingList {
214214
if ok {
215215
val.Postings = append(val.Postings, value.Postings...)

0 commit comments

Comments
 (0)