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

Prioritise direct matches #79

Open
alfiejfs opened this issue Nov 7, 2020 · 1 comment
Open

Prioritise direct matches #79

alfiejfs opened this issue Nov 7, 2020 · 1 comment

Comments

@alfiejfs
Copy link

alfiejfs commented Nov 7, 2020

When searching for the class "EntityItem" in the Spigot -> Mojang mappings, you get the following order of results:

  1. DataConverterItemFrame
  2. EntityItemFrame
  3. EntityItem

It makes logical sense for the algorithm to prioritise direct matches, and possibly sort by matching characters / closeness to the query

@MiniDigger
Copy link
Owner

if somebody has a nice algo for this, be my quest

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

No branches or pull requests

2 participants