Skip to content

Commit

Permalink
feat(blooms): Only write key=value to blooms
Browse files Browse the repository at this point in the history
  • Loading branch information
salvacorts committed Oct 31, 2024
1 parent b898294 commit 5767634
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pkg/storage/bloom/v1/tokenizer.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ func NewStructuredMetadataTokenizer(prefix string) *StructuredMetadataTokenizer
func (t *StructuredMetadataTokenizer) Tokens(kv push.LabelAdapter) iter.Iterator[string] {
combined := fmt.Sprintf("%s=%s", kv.Name, kv.Value)
t.tokens = append(t.tokens[:0],
kv.Name, t.prefix+kv.Name,
kv.Value, t.prefix+kv.Value,
combined, t.prefix+combined,
)
return iter.NewSliceIter(t.tokens)
Expand Down

0 comments on commit 5767634

Please sign in to comment.