[Bug 284553] Searching for filetypes yields extra Nepomuk items

Sebastian Trueg trueg at kde.org
Wed Jan 4 08:01:59 UTC 2012


https://bugs.kde.org/show_bug.cgi?id=284553


Sebastian Trueg <trueg at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |trueg at kde.org




--- Comment #4 from Sebastian Trueg <trueg kde org>  2012-01-04 08:01:58 ---
(In reply to comment #3)
> Created an attachment (id=67421)
 --> (http://bugs.kde.org/attachment.cgi?id=67421) [details]
> Filter matches we do not want
> 
> Add some "and not isOfType" terms to the nepomuk query to filter resources we
> do not want.

Please get rid of that propertyUrl method. It is ugly. We have namespaces which
hide the URL strings for exactly that purpose: Nepomuk::Vocabulary::NIE and
friends. Just include <Nepomuk/Vocabulary/NIE> and so on.

Also instead of adding a type term for files use FileQuery which is optimized
for file queries.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the Active mailing list