For review: NAND out of space patch.
Tomeu Vizoso
tomeu at tomeuvizoso.net
Tue Jul 22 15:04:49 EDT 2008
On Tue, Jul 22, 2008 at 4:21 AM, Chris Ball <cjb at laptop.org> 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
More information about the Devel
mailing list