quickwit-oss / quickwit-oss/quickwit
Fix the way scores are combined in the elasticsearch API
Open
Nobody has claimed this yet.
bug
good first issue
- Dominant language
- Rust
- Stars
- 11.7k
- Forks
- 597
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 37
Description
In the multimatch query, best_field, phrase, phrase_prefix, bool_prefix are supposed to max out of the score of the different fields.
Right now quickwit combines their results.
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 locating the Rust Elasticsearch API implementation for multimatch queries and the handling of best_field, phrase, phrase_prefix, and bool_prefix. Compare the current score combination with the stated max-per-field behavior, then run the relevant existing query tests and add coverage showing that each mode selects the maximum field score.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- elasticsearch, rust
- Domain
- api, search
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100