Bug 452134 - "LXD" snap sorted to the bottom in a search
Summary: "LXD" snap sorted to the bottom in a search
Status: CONFIRMED
Alias: None
Product: Discover
Classification: Applications
Component: Snap Backend (show other bugs)
Version: 5.24.3
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Dan Leinir Turthra Jensen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-01 02:11 UTC by Heinrich Schuchardt
Modified: 2024-03-29 08:16 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Screenshot KDE Discover (126.86 KB, image/png)
2022-04-01 02:11 UTC, Heinrich Schuchardt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Heinrich Schuchardt 2022-04-01 02:11:04 UTC
Created attachment 147872 [details]
Screenshot KDE Discover

SUMMARY

Searching in Discover should only show relevant results sorted by relevance.


STEPS TO REPRODUCE

The appended screenshot shows part of the output when search for "LXD".

OBSERVED RESULT

The exact hit, the lxd snap, is found after a lot of scrolling close to the bottom of the list.

EXPECTED RESULT

I would have expected the exact match (snap lxd) to be shown on top of the list.

I would not expect any suggestions that have neither the search term in the title nor in the description to appear in the list.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Ubuntu 22.04 Jammy
KDE Plasma Version: 5.24.3
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 Heinrich Schuchardt 2022-04-01 02:12:43 UTC
Ubuntu bug report:
https://bugs.launchpad.net/ubuntu/+source/plasma-discover/+bug/1967444
Comment 2 Nate Graham 2022-04-01 19:36:48 UTC
Search results are sorted by relevance, but the definition of relevance being used by the software may not match your own. :) 

However in this case the issue is different anyway: I think there is special handling for Snap search rsults because Snap doesn't use AppStream which otherwise provides our search results. I guess we need to merge the results better.
Comment 3 Scarlett Moore 2024-03-29 08:16:33 UTC
I can confirm this issue. A search for LXD resulted in 8 completely irrelevant results before the LXD snap shows up.