Skip to content

Fuzzy Search #237

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Fuzzy Search #237

wants to merge 2 commits into from

Conversation

Shushishtok
Copy link
Contributor

Introduces the Fuzzy Search mechanism by using the popular FuzzySharp package. This search is added to all currently existing text filters and Selection Popups, replacing the simple "text contains" mechanism with the Fuzzy Search.

This allows for two significant improvements:

  • Allows users to write parts of their search filter and get results even if they don't exactly match the text, such as different orders, typos, or similarities.
  • Rearranges results based on relevancy/similarity. All results will now always be ordered based on their score, which would help users get the expected results from searches of items that are very close together.

Filters now also use this mechanism. Applies to the following windows:

  • Triggers
  • TaskForces
  • Scripts
  • TeamTypes

Note that while a filter is active (i.e. at least one non-whitespace character is written), Fuzzy Search arrangement overrides any current selected ordering scheme (such as ordering by ID, name or color).

Installs a new dependency: FuzzySharp.

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