D16690: [Baloo Runner] Filter duplicates and prefer specific type matches

Kai Uwe Broulik noreply at phabricator.kde.org
Mon Nov 5 18:12:17 GMT 2018


broulik created this revision.
broulik added reviewers: Plasma, ngraham, sitter, michaelh.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
broulik requested review of this revision.

REVISION SUMMARY
  A Presentation is also a Document so it would show up twice.
  This patch filters out URLs we have already found and moves searching for specific types (Presentation, Spreadsheet) before the more generic Document type.

TEST PLAN
  Searched for Presentation, my presentation.odp showed up only once as "Presentation".
  
  Probably good for 5.14 too

REPOSITORY
  R120 Plasma Workspace

REVISION DETAIL
  https://phabricator.kde.org/D16690

AFFECTED FILES
  runners/baloo/baloosearchrunner.cpp
  runners/baloo/baloosearchrunner.h

To: broulik, #plasma, ngraham, sitter, michaelh
Cc: plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20181105/1708fcfa/attachment.html>


More information about the Plasma-devel mailing list