typesense / typesense/typesense

Need Support for filter_by: "_exact_match" or filter_by: "text_score>=number"

Open
#1,401 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.