Skip to content

Commit

Permalink
Revert "don't index doc vals"
Browse files Browse the repository at this point in the history
This reverts commit 1f3821c.
  • Loading branch information
gernest committed Feb 10, 2024
1 parent 68c76a7 commit 4cfbd88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion segment/cold/dictionary_field.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func (f *base) Value() []byte { return nil }

func (f *base) Index() bool { return true }
func (f *base) Store() bool { return true }
func (f *base) IndexDocValues() bool { return false }
func (f *base) IndexDocValues() bool { return true }

func (f *DictionaryField) EachTerm(vt segment.VisitTerm) {
for i := 0; i < f.array.Len(); i++ {
Expand Down

0 comments on commit 4cfbd88

Please sign in to comment.