[Xapian-discuss] how to delete all document from the DB (without deleting the DB itself)
Alessandro Pasotti
apasotti at gmail.com
Thu Apr 24 18:25:35 BST 2008
Hello,
I'm still testing PHP5 bindings and I could'nt find a way to delete
all documents from a DB without deleting other informations stored in
the DB such as synonyms.
Since the process of adding synonyms is time consuming, I would like
to use the same DB but restart my test without any document in the DB,
is this possibile?
I could'nt find a delete_all or a method like that, nor an iterator
over all documents without querying.
Any idea?
--
Alessandro Pasotti
w3: www.itopen.it
More information about the Xapian-discuss
mailing list