Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prefix search in filter_by not getting all the results #1659

Open
Gabrimarin opened this issue Apr 9, 2024 · 0 comments
Open

Prefix search in filter_by not getting all the results #1659

Gabrimarin opened this issue Apr 9, 2024 · 0 comments

Comments

@Gabrimarin
Copy link

Description

I am trying to use the new prefix in filter_by added in v26, but only 4 items of my collection are showing up. I think this would be related to the max_candidates parameter, but it seems to be exclusive to the query system. Maybe some "max_candidates" equivalent need to be added to the filter_by prefix search

Steps to reproduce

  • Get a collection with 10 items, each one with a "type" field. Each item will have a different value for "type", but they all start with the same prefix, like "test-1", "test-2", "test-3",...,"test-10"
  • Try to filter_by the prefix (filter_by=type:test*)

Expected Behavior

Should bring all the items that start with "test"

Actual Behavior

Only 4 items that start with "test" were found

Metadata

Typesense Version: 26

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants