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

add usePrefixWithTolerance param #564

Closed
wants to merge 2 commits into from
Closed

Conversation

jkcs
Copy link

@jkcs jkcs commented Dec 6, 2023

This PR does the following:

  1. Adds the usePrefixWithTolerance option to allow executing the default prefix search when tolerance is not 0.
  2. Splits the find method in the radix.ts into default search and adds a method to merge the results.

close #544
/claim #544

Request

please let me know first if this solution is feasible before I proceed with adding tests and other tasks.

Copy link

vercel bot commented Dec 6, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
orama-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 6, 2023 10:12am

@jkcs
Copy link
Author

jkcs commented Dec 6, 2023

@micheleriva Please help take a look and see if this is an appropriate solution for this problem.

@micheleriva
Copy link
Member

Superseded by #580

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

Successfully merging this pull request may close these issues.

Tolerance disables prefix search
2 participants