beagle r4368 - in trunk/beagle/beagled: . FileSystemQueryable



Author: dbera
Date: 2008-01-05 05:25:43 +0000 (Sat, 05 Jan 2008)
New Revision: 4368
ViewCVS link: http://svn.gnome.org/viewcvs/beagle?rev=4368&view=rev

Modified:
   trunk/beagle/beagled/FileSystemQueryable/FileSystemQueryable.cs
   trunk/beagle/beagled/FileSystemQueryable/InternalUriManager.cs
   trunk/beagle/beagled/LuceneCommon.cs
   trunk/beagle/beagled/QueryStringParser.cs
Log:
A fake implementation of inuri: queries for FSQ. For inuri:/path or inuri:file:///path, find the uri of the path and add a query term parentdiruri=uri_of_path. For inuri:foo, find all directories with foo in its name, then add a boolean query for each of those directories, parentdiruri=uri_of_directory. Essentially will match all items in a directory matching the query. NOTE: the query will _not_ match items recursively, but only in the immediate directory. This implementation is fake since if new directories are added with the name foo, then live query will not return anything from the new directory. This one is a temporary workaround till FSQ is re-written.




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