[Xapian-discuss] chert-update creates a db with some errors
Olly Betts
olly at survex.com
Sat Jan 15 10:32:17 GMT 2011
On Fri, Jan 14, 2011 at 03:16:00PM +0100, Luca Barbieri wrote:
> Olly, I'm sorry to bother you again. I have a different error converting
> databases with some termlist, (the two patches are correctly applied).
No problem - clearly I didn't test the updater very thoroughly in the
first place!
> # xapian-chert-update old_db new_db
> postlist: Reduced by 56.927% 1808K (3176K -> 1368K)
> record: Reduced by 14.2857% 32K (224K -> 192K)
> termlist ..../xapian-chert-update: DatabaseCorruptError: Bad docid key
Looks like it's the entries which store the value slots used for each
document. Please try this (untested) fix:
http://trac.xapian.org/changeset/15309
> Let me know if you need another database fore some tests, the former had not
> the termlist.
If that doesn't fix it, an example would be useful.
Cheers,
Olly
More information about the Xapian-discuss
mailing list