beagle r3428 - trunk/beagle/beagled



Author: dbera
Date: 2007-02-12 05:05:36 +0000 (Mon, 12 Feb 2007)
New Revision: 3428
ViewCVS link: http://svn.gnome.org/viewcvs/beagle?rev=3428&view=rev

Modified:
   trunk/beagle/beagled/BuildIndex.cs
   trunk/beagle/beagled/FileAttributesStore.cs
Log:
Revert r3354. r3354 checked if an attr had valid filter info when checking if it is uptodate. This would fail a lot of backends, mostly LuceneFileQueryable ones. LuceneFileQueryable does not write filter information if mulitple indexables were created from a single file. So for all those backends, restarting beagled would re-index all the files (KMail backend, due to a side effect, only re-indexes the mails with attachments). The changes in r3354 were really necessary for file system indexing (files backend and BuildIndex); files backend does its own check and doesnt use IsUpToDate(), so revert the change and create another function IsUpToDateAndFiltered() for BuildIndex to use.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]