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

feat: fine-tune identity similarity search #3575

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

zepatrik
Copy link
Member

Dynamically adjusting similarity threshold

We can assume typical identifiers to be between 10 and 30 characters long. When typing a short search term, a user expects to get a lot of partially matching results. However, when they search for a long term, the precision is expected to increase. This is contrary to how the similarity score in postgres & crdb works, so we need to dynamically adjust the similarity threshold.
This likely needs even more fine-tuning, but seems to work ok now.

Sort by similarity

I think this change is quite obvious 😉

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

Successfully merging this pull request may close these issues.

1 participant