[Nepomuk] On-battery indexing
    Martin Steigerwald 
    Martin at lichtvoll.de
       
    Sat May 12 10:35:53 UTC 2012
    
    
  
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
    
    
More information about the Nepomuk
mailing list