[Xapian-discuss] a question about delete_document
ouwind
ouwind at 163.com
Fri Aug 28 04:18:58 BST 2009
hi all,i add 10000 documents into xapian database using add_document interface, then call commit_transaction, and search a word returns 8700 hits. then i delete 10000 documents. and call commit_transaction (it will call flush), then seach the same word return hits size is zero. so it means delete success. but the database size is about 200m (the folder size of index). why the database dont reduce the file. i found it does not reduce any more. so my question is ,if i continue to add and delete, the database will increse its size but no decrese? if i want control the size , what funtion can i call?
2009-8-28
More information about the Xapian-discuss
mailing list