Kvaesitso icon indicating copy to clipboard operation
Kvaesitso copied to clipboard

[Enhancement] Sort app search results by relevance

Open laurentlbm opened this issue 2 years ago • 13 comments

At the moment, the results are sorted alphabetically. I think that it would be better if it was sorted by "relevance". By that, I'm thinking of something like this:

  • apps starting with the search term
  • apps with a word starting with the term (also taking into account that some apps are in PascalCase)
  • substring match
  • other fuzzy matches

laurentlbm avatar Apr 04 '22 02:04 laurentlbm

I think this would technically be possible, however I'm not sure if it would really improve usability. Right now, the results are sorted alphabetically which is understandable, everyone knows how the alphabet works and we are all trained to find what we're looking for in a list of alphabetically ordered items. If we change the sorting order to be sorted by relevance, we would need to make sure that the user still understands why the results are sorted this way, otherwise it might actually be harder to spot the right result in that know seemingly unsorted list of items (especially if we have more than 10 results). Maybe it would be a good idea to move only the most relevant 1-2 item(s) to the top of the list and keep the rest as is?

MM2-0 avatar Apr 04 '22 13:04 MM2-0

Maybe if the matches are visually highlighted. For example, if you search for "bro":

  • Bromite
  • Tor Browser
  • Librera Pro
  • Invizible Pro

I have no idea how hard it is to implement though.

Another option would be that it's a setting to sort the results either alphabetically or by relevance.

laurentlbm avatar Apr 04 '22 13:04 laurentlbm

For reference, this is how KISS Launcher shows it (in reverse order from the bottom): Screenshot_20220404-094330826 (1)

laurentlbm avatar Apr 04 '22 13:04 laurentlbm

I also looked at 2 launchers from the Play Store (Nova and Niagara), and although they return results by relevance, they don't highlight where the match was made.

A difference I noticed though, is that they match differently. For Niagara, the app name has to contain the substring, it won't do any fuzzy matching. Nova, on the other hand, only matches by prefix (searching for "nvi" won't return "InviZible Pro"), BUT does some fuzzy matching using the beginnings of words ("inp" will return "InviZible Pro" and "std" returns "SkipTheDishes").

laurentlbm avatar Apr 04 '22 13:04 laurentlbm

Thanks for the research, I guess my doubts are unfounded then. I will look into it!

MM2-0 avatar Apr 04 '22 14:04 MM2-0

For reference, this is how KISS Launcher shows it (in reverse order from the bottom): Screenshot_20220404-094330826 (1)

Kiss launcher is such an incredible software, I find it nearly impossible to switch to other launchers even for a day. Kvaesitso has a nice widgets drawer that I really liked but the search isn't quite there yet. An hybrid of two apps would be quite perfect.

deepu2 avatar Sep 29 '22 15:09 deepu2

This was added and can be closed

shtrophic avatar Oct 29 '23 20:10 shtrophic

This was added and can be closed

Was this added? I'm unable to find this behavior in the latest release. Searching for "ma" orders Gmail before Maps when sorting search results both alphabetically and by usage, despite Maps starting with "ma".

AidanRB avatar Mar 20 '24 03:03 AidanRB

How do you sort both alphabetically and by relevance?

shtrophic avatar Mar 20 '24 09:03 shtrophic

Either or, sorry. I meant it happens with both individually.

AidanRB avatar Mar 20 '24 10:03 AidanRB

I agree that search results seem a little finicky sometimes, but switching between "usage" and "alphabetically" definitely produces different search results for me.

About Gmail showing before Maps when searching for "ma" alphabetically: G comes before M and both contain the search string, so that is probably why. In the usage case: you probably are using Gmail more often than Maps. The usage setting basically tracks how many times you have launched a specific app, compared to how many times any app was launched, and orders by "most launched".

This was added and can be closed

What I meant by this was the addition of the "usage" search ordering.

shtrophic avatar Mar 23 '24 14:03 shtrophic

This issue appears to be about sorting by relevance, as opposed to usage. I understand why Gmail comes before Maps in both cases, but a sort as described in this issue would change that. Can this be left open if/until that is implemented?

AidanRB avatar Mar 25 '24 15:03 AidanRB

Like the other comments, it would be nice If example "ing" ist first App in row and start the "Ing"-App to start with enter. At the Moment there are "Shopping"-Apps at first place.

For me its a more Natural and faster was to start Apps or Open websites.

Sasuchisama avatar Jun 17 '24 04:06 Sasuchisama