beagle r3444 - branches/beagle-0.2.16/beagled



Author: joeshaw
Date: 2007-02-13 19:16:48 +0000 (Tue, 13 Feb 2007)
New Revision: 3444
ViewCVS link: http://svn.gnome.org/viewcvs/beagle?rev=3444&view=rev

Modified:
   branches/beagle-0.2.16/beagled/BuildIndex.cs
   branches/beagle-0.2.16/beagled/FileAttributesStore.cs
Log:
Merge r3428 onto the branch.

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]