[Nepomuk] Search for specific file types
Peter Hedlund
peter at peterandlinda.com
Mon Apr 4 02:26:46 CEST 2011
Hi all,
I see as my main use case for nepomuk the ability to create saved
searches/virtual folders for specific file types (mime types).
Example: locate all pdf files in a folder hierarchy.
The only way I have found that reliably works within Dolphin is to search for
*.pdf as a filename. It works, but is quite slow.
According to
http://techbase.kde.org/Development/Tutorials/Metadata/Nepomuk/QueryService it
should be possible to search for mimeType or fileExtension. I have not been
able to figure out a syntax that actually works. Is it possible? Would it be
faster?
I can't help but compare with Spotlight on Mac OS X. Having a saved search for
the pdf file type within a hierarchy of folders is updated almost
instantaneously if some new files are added even if the total number of files is
more than a thousand. In Dolphin as described above the search starts from
scratch every time and it takes more than a minute to locate 1100 files.
FYI, I am running a fully updated Kubuntu Natty.
Thanks for any input you might have.
Peter
More information about the Nepomuk
mailing list