feat: integrate FuzzyWuzzy for enhanced fuzzy search & sanitize query #4
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.


Enhanced the fuzzy search.
Integrate FuzzyWuzzy. Replace the naive implementation with FuzzyWuzzy that utilizes the Levenshtein distance algorithm. This will allow the search to intelligently handle a certain number of character substitutions, insertions, or deletions, making it tolerant of common typos.
Sanitize the Search Query. Before performing the search, pre-process the input query to remove all spaces and single quote marks. This step will ensure that IME-generated artifacts do not interfere with search results.
Issue: closes #3
Tested on op13 with launcher v15.8.17. Works pretty fine with no noticeable performance issue.
I'm kinda vibe coding this so may need some more time to test it out. Marked as draft for now.