[Nepomuk] On-battery indexing
Vishesh Handa
me at vhanda.in
Sat May 12 21:59:43 UTC 2012
Hey Raveendra
Would you be interested in tackling the problem? It's not that hard, and
would help you familiarize yourself with the Nepomuk code base.
The relevant code is in kde-runtime/nepomuk/services/fileindexer/. The code
is also there in nepomuk-core/services/fileindexer. You can choose either
of them, though we would prefer nepomuk-core, as kde-runtime/nepomuk will
soon be deleted.
Let me know
PS: Make sure you reply to all
On Sat, May 12, 2012 at 4:05 PM, Martin Steigerwald <Martin at lichtvoll.de>wrote:
> Am Sonntag, 6. Mai 2012 schrieb Vishesh Handa:
> > > Could we do a limited indexing (a few files here and there, not
> > > entire filesystems) when the user is on battery without much impact
> > > on battery?
> >
> > Yup. It is possible.
> >
> > And in fact it wouldn't be too hard to implement.
> >
> > Right now we have a kind of priority queue where files and folders and
> > queued. Routine scanning and indexing of files are given a lower
> > priority than files that are added by inotify. So, we just need to
> > make sure that only files with this higher priority are indexed when
> > the indexer is suspended.
>
> Would be good for newly added files. And probably should be slower, lighter
> on resources than usual indexing.
>
> Not for the initial scan of everything.
>
> --
> Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
> GPG: 03B0 0D6C 0040 0710 4AFA B82F 991B EAAC A599 84C7
>
--
Vishesh Handa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/nepomuk/attachments/20120513/b9942ea9/attachment.html>
More information about the Nepomuk
mailing list