[Nepomuk] Re: Search for specific file types
Sebastian Trüg
trueg at kde.org
Mon Apr 4 09:53:28 CEST 2011
The restarting of the search is a bug which I have not been able to
figure out yet. :( I am aware of it though.
As for searching by mimetype: we are still in need of a good query UI.
For now you can try this:
mimetype="application/pdf"
Make sure that in Dolphin the "everywhere" and "content" buttons are
pressed.
We should really invest some time in a proper search gui. It is a GSOc
project btw...
Cheers,
Sebastian
On 04/04/2011 02:26 AM, Peter Hedlund wrote:
> 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
>
> _______________________________________________
> Nepomuk mailing list
> Nepomuk at kde.org
> https://mail.kde.org/mailman/listinfo/nepomuk
>
More information about the Nepomuk
mailing list