quickwit icon indicating copy to clipboard operation
quickwit copied to clipboard

fields set under tag_fields do not accept a search with negation operator

Open enotspe opened this issue 1 year ago • 2 comments

If a field is added to tag_fields in Index configuration, a search operation with a negation operator does not retrieve any results

Example:

"tag_fields": [
    "fgt.subtype"
  ]

altought forward and local are values for fgt.subtype, a negate search for any of those values returns no results. tag fields do not take negate search

-fgt.subtype:local should return all documents with fgt.subtype:forward

enotspe avatar Aug 17 '24 22:08 enotspe

it looks like #4698. Is this with 0.8 (which doesn't have the corresponding fix) or with main/edge?

trinity-1686a avatar Aug 18 '24 01:08 trinity-1686a

0.8

Great to know there is a fix already! I will try again from main.

enotspe avatar Aug 18 '24 21:08 enotspe