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

[MPT-5] Mentors: Fuzzy search unable to retrieve certain mentor profile #499

Open
IvanFengJK opened this issue Jul 29, 2022 · 1 comment
Labels
Bug Something isn't working linear Low priority Created by Linear-GitHub Sync

Comments

@IvanFengJK
Copy link
Contributor

IvanFengJK commented Jul 29, 2022

When typing "wei teng" into the search bar, instead of returning the profile of "Wei Theng Ng", no profile is being returned.

However, when typing "wei thng" into the search bar, the profile of "Wei Theng Ng" is found.

Below is a screenshot of the problem. This has not been thoroughly investigated so this behaviour may happen for other profiles. It is unconfirmed for now.

Screen Shot 2022-07-29 at 10 03 53 PM

MPT-5

@IvanFengJK
Copy link
Contributor Author

After further research, here are the documentations for precision tuning: https://www.elastic.co/guide/en/app-search/current/precision-tuning.html It looks like Elastic Search has its own built-in fuzzy query and it cannot be modified.

There is also this gist that suggests that elastic search only works well when the first two letters are correct. https://gist.github.com/richkuz/ee645b3540c49e2a12b394081e7f4c4b

Therefore, Elastic Search has an internal limitation when the typo happens in the first two letters of the word.

@wei2912 wei2912 removed this from the 2023 Wave milestone Mar 23, 2023
@wei2912 wei2912 modified the milestone: 2023 Wave May 13, 2023
@wei2912 wei2912 added the linear label May 13, 2023
@wei2912 wei2912 changed the title Fuzzy search unable to retrieve certain mentor profile [MPT-5] Fuzzy search unable to retrieve certain mentor profile May 13, 2023
@wei2912 wei2912 changed the title [MPT-5] Fuzzy search unable to retrieve certain mentor profile [MPT-5] Mentors: Fuzzy search unable to retrieve certain mentor profile Mar 5, 2024
@wei2912 wei2912 added the Low priority Created by Linear-GitHub Sync label Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working linear Low priority Created by Linear-GitHub Sync
Projects
Development

No branches or pull requests

4 participants