INTERACT FORUM
More => Old Versions => JRiver Media Center 26 for Windows => Topic started by: joshhuggins on July 04, 2020, 04:55:47 pm
-
Is there a way to get search and field search results to display items that match the current search input exactly at the top of the results list instead of sorting all results by the first letter in the result? Most of the time if you are searching for something you probably know the name of it and are typing that name so putting those exact matching results at the top so you can easily just arrow down to it would make things a lot faster, especially when results have lots of items. Many times what I am looking for is 10-20 down the list and all mixed up which makes me have to slow down and look at each item in the result. Thanks for any ideas! :)
-
The sorting used for suggestions is pretty elaborate.
If it finds a full match, it should be a higher quality:
// anytime we find a full word match, we improve the match quality
-
It does make sense to also improve the quality of results that start with the search string, which is what OP is requesting:
Equals > StartsWith > Contains
-
It does make sense to also improve the quality of results that start with the search string, which is what OP is requesting:
Equals > StartsWith > Contains
We also do that:
// the closer to the beginning of the string the find is, the higher the quality
-
The screenshots above don't seem to show that.