quickwit-oss / quickwit-oss/quickwit
fields set under tag_fields do not accept a search with negation operator
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 11.7k
- Forks
- 597
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 37
Description
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.
-fgt.subtype:local should return all documents with fgt.subtype:forward
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with an Index configuration containing tag_fields: ["fgt.subtype"] and a negated query such as -fgt.subtype:local. Trace how tag fields are indexed and evaluated for negation; done means the query returns documents with fgt.subtype:forward while excluding local.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- search
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100