MiniMappingViewer icon indicating copy to clipboard operation
MiniMappingViewer copied to clipboard

Prioritise direct matches

Open alfiejfs opened this issue 5 years ago • 1 comments

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

alfiejfs avatar Nov 07 '20 00:11 alfiejfs

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

MiniDigger avatar Nov 14 '20 17:11 MiniDigger