On Tue, Jul 22, 2008 at 4:21 AM, Chris Ball <[EMAIL PROTECTED]> wrote:
>   * Deleting a file from the datastore doesn't delete its entry in the
>     index.  Resuming a Journal entry with no corresponding file usually
>     produces a blank document in the activity being resumed.

This may be easy to do, all the code needed is inside the high level
API for xapian:

http://dev.laptop.org/git?p=projects/datastore;a=blob;f=secore/indexerconnection.py;h=84ea9a1519f87c8e98a439f608310be0b024f0d3;hb=HEAD

Just check how the connection to the DS is opened and

self._index.delete_document('Q' + id)

The id is the same as the entry UID.

HTH,

Tomeu
_______________________________________________
Devel mailing list
[email protected]
http://lists.laptop.org/listinfo/devel

Reply via email to