[Xapian-discuss] chert-update creates a db with some errors
Luca Barbieri
lucabarb at gmail.com
Mon Jan 17 17:08:17 GMT 2011
2011/1/15 Olly Betts <olly at survex.com>
> 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
>
> Cheers,
> Olly
>
It's working now! Perfect, thank you again!
--
---------------------
Luca Barbieri
More information about the Xapian-discuss
mailing list