[Nepomuk] Help to understand how to build a query

Ivan Cukic ivan.cukic at kde.org
Thu Sep 22 12:45:48 UTC 2011


> FileQuery query(AndTerm(mimeTypeTerm, ResourceTypeTerm(NFO::Video());
> foreach(QString folder, myFolders)
>   query.addIncludeFolder(folder);

There might be something problematic with indexing of nfo:Video - that is, 
I have a lot of results for nfo:Image, no result for nfo:Video, while 
there are avis, movs etc. indexed.

avis get nfo:FileDataObject type, and the super-types, but not nfo:Video.

It might be because of old strigi version, though.


Cheerio

-- 
I don't really trust a sane person.
  -- Lyle Alzado



More information about the Nepomuk mailing list