[Xapian-discuss] xapian-compact
Olly Betts
olly at survex.com
Thu Aug 23 03:41:21 BST 2007
On Wed, Aug 22, 2007 at 03:55:24PM -0400, Jim wrote:
> Hm, let me try this again. How does xapian-compact behave if there are
> entries in both databases that are being compacted? Is it smart enough
> to use the newer one? Or the first one? Or the last one?
xapian-compact has no concept of "duplicate". All documents from each
source database will be copied over to the destination database.
> If there is an existing db in the target directory of an xapian-compact
> command, is it simply overwritten? Is it also part of the merger?
You shouldn't try to compact to an existing database directory, though
currently xapian-compact won't complain if you do. It probably should
though.
Cheers,
Olly
More information about the Xapian-discuss
mailing list