beagle r4082 - in trunk/beagle: Util beagled



Author: dbera
Date: 2007-10-26 02:11:26 +0100 (Fri, 26 Oct 2007)
New Revision: 4082
ViewCVS link: http://svn.gnome.org/viewcvs/beagle?rev=4082&view=rev

Modified:
   trunk/beagle/Util/Config.cs
   trunk/beagle/beagled/BuildIndex.cs
   trunk/beagle/beagled/QueryDriver.cs
Log:
Fix the ever eluding bug of "No queryable object matches ..." in snippet. It happened if a static index is created with a custom source. Fix that by using a config file target/StaticIndex.xml. Add several helper methods to Config to facilitate conf usage. BuildIndex now stores the value of the source (which is either the value of --source or the name of the target directory) in the config file. Upon subsequent reruns, if --source is not present and the config file is present, the value is read from the config file.
Existing static indexes need to recreated (or faked by creating a correct StaticIndex.xml in the target/ directory).





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