[Xapian-discuss] TCL Binding working,
but db_lock doesn't get removed?
Eric Parusel
eparusel at creativens.com
Thu Oct 21 22:03:31 BST 2004
Ok,
I've gotten my test.tcl test script to write documents to a xapian
database, thanks for all the help I've received so far!
Only after the script ends, next time I try to run it, it complains
about the lock present (the db_lock file is in the directory).
I have to manually delete the db_lock to be able to run the script again
it seems.
Is there a particular way I should be destroying the WritableDatabase
object?
By the way:
I'm using...
db replace_document 1 doc
Where db is a WritableDatabase object and
where doc is a Document object
...as a way of setting the docid (I already have a system of unique
idnumbers starting from 1, I assume a docid can handle any positive
signed int32?), am I doing this correctly?
Thanks,
Eric
More information about the Xapian-discuss
mailing list