Bug 416324

Summary: Discover search doesn't prioritize title match on description match
Product: [Applications] Discover Reporter: Pedram <pshamkhali>
Component: discoverAssignee: Dan Leinir Turthra Jensen <leinir>
Status: RESOLVED DUPLICATE    
Severity: minor CC: aleixpol, nate
Priority: NOR    
Version: 5.16.5   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=407590
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: 'Signal Desktop' found as a match for 'signal' in 31st record of search results

Description Pedram 2020-01-16 10:21:00 UTC
Created attachment 125163 [details]
'Signal Desktop' found as a match for 'signal' in 31st record of search results

SUMMARY
I search for a keyword in an application name, but there is 30 results without the keyword in their title, and the match with the keyword in its title is the 31st one record!

STEPS TO REPRODUCE
1. Add 'Signal' repository to apt (https://signal.org/download/)
2. Search for 'signal' in Discover
3. Scroll irrelevant titles until you reach 'Signal Desktop'

OBSERVED RESULT
The record with title match isn't in the couple of first records.

EXPECTED RESULT
The record with title match should appear at top of the results.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2020-01-16 17:22:58 UTC
This was already fixed, but the fix was in the AppStream package (https://github.com/ximion/appstream/pull/257), not actually in Discover. I guess your Kubuntu version must not yet have the fixed AppStream version in it.

*** This bug has been marked as a duplicate of bug 407588 ***