Review Request: Make nepomuk runner remove undesired matches

Sebastian Trueg sebastian at trueg.de
Sun Apr 15 18:21:39 BST 2012


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/104526/#review12482
-----------------------------------------------------------


This is actually a bug that needs to be addressed differently. Your solution is simply a hack. Normally Nepomuk should not return those results at all. The question is though: why does it? Only if we figure that out we can fix it properly.

- Sebastian Trueg


On April 9, 2012, 10:29 p.m., Lamarque Vieira Souza wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/104526/
> -----------------------------------------------------------
> 
> (Updated April 9, 2012, 10:29 p.m.)
> 
> 
> Review request for KDE Runtime.
> 
> 
> Description
> -------
> 
> Nepomuk runner returns matches like "global namespace", "local namespace" and "PaginatedTextDocument" which pollutes the query's returned matches. This patch adds a NegationTerm to the nepomuk query to filter them. If somebody has a better way to prevent those matches from appearing please let me know.
> 
> 
> This addresses bug 284553.
>     http://bugs.kde.org/show_bug.cgi?id=284553
> 
> 
> Diffs
> -----
> 
>   plasma/generic/runners/nepomuksearch/queryclientwrapper.h 48c1eaa 
>   plasma/generic/runners/nepomuksearch/queryclientwrapper.cpp 0b828b0 
> 
> Diff: http://git.reviewboard.kde.org/r/104526/diff/
> 
> 
> Testing
> -------
> 
> Works in my Plasma Active installation.
> 
> 
> Thanks,
> 
> Lamarque Vieira Souza
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20120415/f3b5c73e/attachment.htm>


More information about the kde-core-devel mailing list