[Nepomuk] Help to understand how to build a query

Sebastian Trüg trueg at kde.org
Thu Sep 22 13:30:22 UTC 2011


I have 5091 nfo:Video resource here but of course I am running a
self-compiled libstreamanalyzer from git master...

On 09/22/2011 02:45 PM, Ivan Cukic wrote:
> 
>> 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
> 


More information about the Nepomuk mailing list