beagle r3464 - in trunk/beagle/beagled: . AkregatorQueryable BlamQueryable EvolutionDataServerQueryable EvolutionMailQueryable FileSystemQueryable GaimLogQueryable IndexingServiceQueryable KAddressBookQueryable KMailQueryable KNotesQueryable KOrganizerQueryable KonqBookmarkQueryable KonqHistoryQueryable KonversationQueryable KopeteQueryable LabyrinthQueryable LifereaQueryable OperaQueryable ThunderbirdQueryable TomboyQueryable



Author: dbera
Date: 2007-02-17 15:53:33 +0000 (Sat, 17 Feb 2007)
New Revision: 3464
ViewCVS link: http://svn.gnome.org/viewcvs/beagle?rev=3464&view=rev

Modified:
   trunk/beagle/beagled/AkregatorQueryable/AkregatorQueryable.cs
   trunk/beagle/beagled/BlamQueryable/BlamQueryable.cs
   trunk/beagle/beagled/EvolutionDataServerQueryable/EvolutionDataServerQueryable.cs
   trunk/beagle/beagled/EvolutionMailQueryable/EvolutionMailQueryable.cs
   trunk/beagle/beagled/FileSystemQueryable/FileSystemQueryable.cs
   trunk/beagle/beagled/GaimLogQueryable/GaimLogQueryable.cs
   trunk/beagle/beagled/IndexingServiceQueryable/IndexingServiceQueryable.cs
   trunk/beagle/beagled/KAddressBookQueryable/KabcQueryable.cs
   trunk/beagle/beagled/KMailQueryable/KMailQueryable.cs
   trunk/beagle/beagled/KNotesQueryable/KNotesQueryable.cs
   trunk/beagle/beagled/KOrganizerQueryable/KOrganizerQueryable.cs
   trunk/beagle/beagled/KonqBookmarkQueryable/KonqBookmarkQueryable.cs
   trunk/beagle/beagled/KonqHistoryQueryable/KonqQueryable.cs
   trunk/beagle/beagled/KonversationQueryable/KonversationQueryable.cs
   trunk/beagle/beagled/KopeteQueryable/KopeteQueryable.cs
   trunk/beagle/beagled/LabyrinthQueryable/LabyrinthQueryable.cs
   trunk/beagle/beagled/LifereaQueryable/LifereaQueryable.cs
   trunk/beagle/beagled/LuceneQueryable.cs
   trunk/beagle/beagled/OperaQueryable/OperaQueryable.cs
   trunk/beagle/beagled/ThunderbirdQueryable/ThunderbirdQueryable.cs
   trunk/beagle/beagled/TomboyQueryable/TomboyQueryable.cs
Log:
Backends need to explicitly set Started=true when they actually find some data to index. In AcceptQuery(), check the value to Started to determine if query should be processed. This stops useless query processing in backends that are turned on but have no data in index. This would be redundant when beagle-unified-branch is merged but will improve performance till then.




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