<br><br><div class="gmail_quote">On Fri, May 4, 2012 at 3:54 PM, Ivan Čukić <span dir="ltr"><<a href="mailto:ivan.cukic@kde.org" target="_blank">ivan.cukic@kde.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi all,<br>
<br>
A user comment from my blog:<br>
<br>
> I have a question, though: Does it automatically re-index or update the index, when I<br>
> add a Tag or Comment? I think it should also watch for those user-generated changes<br>
> on battery. When I download another script PDF, it does not find them because on<br>
> battery the indexer is offline.<br>
<br>
Could we do a limited indexing (a few files here and there, not entire<br>
filesystems) when the user is on battery without much impact on<br>
battery?<br></blockquote><div><br>Yup. It is possible.<br><br>And in fact it wouldn't be too hard to implement.<br><br>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.<br>
<br></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Cheerio,<br>
Ivan<br>
<br>
--<br>
While you were hanging yourself on someone else's words<br>
Dying to believe in what you heard<br>
I was staring straight into the shining sun<br>
_______________________________________________<br>
Nepomuk mailing list<br>
<a href="mailto:Nepomuk@kde.org">Nepomuk@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/nepomuk" target="_blank">https://mail.kde.org/mailman/listinfo/nepomuk</a><br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br><span style="color:rgb(192,192,192)">Vishesh Handa</span><br><br>