beagle r3665 - in trunk/beagle: BeagleClient beagled beagled/FileSystemQueryable beagled/IndexingServiceQueryable beagled/TomboyQueryable



Author: dbera
Date: 2007-04-22 00:06:58 +0100 (Sun, 22 Apr 2007)
New Revision: 3665
ViewCVS link: http://svn.gnome.org/viewcvs/beagle?rev=3665&view=rev

Modified:
   trunk/beagle/BeagleClient/Indexable.cs
   trunk/beagle/beagled/BuildIndex.cs
   trunk/beagle/beagled/FileSystemQueryable/FileSystemQueryable.cs
   trunk/beagle/beagled/IndexerReceipts.cs
   trunk/beagle/beagled/IndexerRequest.cs
   trunk/beagle/beagled/IndexingServiceQueryable/IndexingServiceQueryable.cs
   trunk/beagle/beagled/LuceneFileQueryable.cs
   trunk/beagle/beagled/LuceneIndexingDriver.cs
   trunk/beagle/beagled/LuceneQueryable.cs
   trunk/beagle/beagled/TomboyQueryable/TomboyQueryable.cs
Log:
Instead of using Uri to keep track of requested indexables and receipts, use a unique numeric id. This will prevent some race conditions in deferred-indexables.

PostAddHook and PostRemoveHook was meant to deal with remapping of Uri, so make them explicitly return the remapped uri.

Do not sort Indexables by their timestamp in IndexerRequest before sending them out. It is unclear why it was done.

Rest of the changes are needed to comply with the new use of Indexable.Id.





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