typesense / typesense/typesense
Need Support for filter_by: "_exact_match" or filter_by: "text_score>=number"
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 26.6k
- Forks
- 973
- Avg merge
- 18h 45m
- Merged PRs (30d)
- 4
Description
Description
I need to filter out the low-relevance results at the bottom of the hit list, and don't want to simply limit the length of such list. I have tried setting filter_by: "_exact_match" and also filter_by: "text_score>=number". However, Typesense does not support these parameters. I hope to add the above-mentioned feature to enhance the functionality.
Typesense Version:0.25.1
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
The issue names no files or tests. Start by locating the filter_by parsing and text-score handling in Typesense, then clarify the intended semantics of _exact_match and text_score>=number before changing them. Done means both requested filter forms work consistently and are covered by appropriate tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- search
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100