[Xapian-discuss] a question about delete_document

Olly Betts olly at survex.com
Fri Aug 28 05:57:34 BST 2009


On Fri, Aug 28, 2009 at 11:18:58AM +0800, ouwind wrote:
> so my question is ,if i continue to add and delete, the database will
> increse its size but no decrese?

Currently we don't try to reduce the table size automatically, but if
you add more documents, any unused space will get used before the DB
files grow further.

> if i want control the size , what funtion can i call? 

You can reclaim unused space by using the xapian-compact command.

Cheers,
    Olly



More information about the Xapian-discuss mailing list