quickwit-oss / quickwit-oss/quickwit
Exist query doesn't consider sub fields for json fields
Open
Nobody has claimed this yet.
bug
- Dominant language
- Rust
- Stars
- 11.7k
- Forks
- 597
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 37
Description
Describe the bug
When querying an index where meta is a json field, with the following contents:
{"meta":{"user": "trinity"}}
{"meta":{"user": {"username": "trinity"}}}
a query for meta.user:* returns only the 1st doc on Quickwit, but returns both in ES
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
Reproduce the meta.user:* query against documents where meta.user is a string and an object, then compare Quickwit’s results with Elasticsearch. Trace the JSON-field existence query behavior and confirm the fix includes both documents without changing the expected query semantics.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- search
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 40/100