[Xapian-discuss] merge database and maintain order
Olly Betts
olly at survex.com
Sun Mar 25 15:34:08 BST 2007
On Sun, Mar 25, 2007 at 05:16:20AM +0000, Mark Clarkson wrote:
> Again, thankyou for this important piece of information. I did not see
> why this would be important but after testing it I can see that I could
> run out of document ids in a relatively short space of time depending on
> the size of the collection.
Indeed.
> I've hacked xapian-compact so that it doesn't add offsets and it seems
> to work, but now it will break horribly if I try to merge databases that
> have the same document ids.
Try this (lightly tested) patch instead:
http://oligarchy.co.uk/xapian/patches/xapian-compact-trim-leading-unused-dids.patch
Cheers,
Olly
More information about the Xapian-discuss
mailing list