beagle r3586 - in trunk/beagle: beagled libbeagle/beagle libbeagle/examples



Author: joeshaw
Date: 2007-03-20 21:45:18 +0000 (Tue, 20 Mar 2007)
New Revision: 3586
ViewCVS link: http://svn.gnome.org/viewcvs/beagle?rev=3586&view=rev

Modified:
   trunk/beagle/beagled/LuceneQueryable.cs
   trunk/beagle/libbeagle/beagle/beagle-indexable.c
   trunk/beagle/libbeagle/beagle/beagle-indexable.h
   trunk/beagle/libbeagle/beagle/beagle-indexing-service-request.c
   trunk/beagle/libbeagle/beagle/beagle-indexing-service-request.h
   trunk/beagle/libbeagle/examples/beagle-search-provider.c
Log:
Make some changes to libbeagle so that clients don't set the source on
the indexable object anymore.

* beagle-indexable.c: Remove beagle_indexable_set_source().  Add docs to
the timestamp functions.  Don't serialize the source to XML anymore.

* beagle-indexing-service-request.c: Get rid of
beagle_indexing_service_request_new_for_service().  All indexing
service requests will go through the indexing service backend, although
indexed documents might not end up there.  Add
beagle_indexing_service_request_set_source(), to let clients send
indexable objects to whichever backend they want.  This is how client
applications can set additional metadata on an already-indexed document.

* beagle-search-provider.c: Update for API changes.

* LuceneQueryable.cs: Don't allow clients to override the Source.  This
will always be the backend that indexed the document.






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