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

🚸(backend) improve users similarity search and sort results #400

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Nov 2, 2024

  1. 🚸(backend) improve users similarity search and sort results

    In some edge cases, the domain part the email addresse is
    longer than the name part. Users searches by email similarity
    then return a lot of unsorted results.
    
    We can improve this by being more demanding on similarity when
    the query looks like an email. Sorting results by the similarity
    score is also an obvious improvement.
    
    At the moment, we still think it is good to propose results with
    a weak similarity on the name part because we want to avoid
    as much as possible creating duplicate users by inviting one of
    is many emails, a user who is already in our database.
    
    Fixes 399
    AntoLC authored and sampaccoud committed Nov 2, 2024
    Configuration menu
    Copy the full SHA
    5b8830a View commit details
    Browse the repository at this point in the history