[Xapian-discuss] xapian-compact and -F option (Enable fuller compaction)

Olly Betts olly at survex.com
Sat Jun 17 00:11:34 BST 2006


On Fri, Jun 16, 2006 at 03:01:39PM -0800, oscaruser at programmer.net wrote:
> When using the fuller compaction, if I am compacting two flint DBs and
> both contain the same record, one being more recent than the other,
> how is that handled?

xapian-compact doesn't have any concept of "the same record".

xapian-compact renumbers all documents from each database so their
docids are higher than those in the previous input database.  It doesn't
merge documents regardless of their contents - or to put it another way
the number of documents in the merged database will always be the sum of
the number of documents in each input database.

Using "-F" doesn't change that.

Cheers,
    Olly



More information about the Xapian-discuss mailing list