[Xapian-discuss] chert-update creates a db with some errors
Luca Barbieri
lucabarb at gmail.com
Fri Jan 14 14:16:00 GMT 2011
2011/1/13 Olly Betts <olly at survex.com>
> On Wed, Jan 12, 2011 at 03:22:02PM +0100, Luca Barbieri wrote:
> > 2011/1/12 Olly Betts <olly at survex.com>
> >
> > > Great! It was what I guessed - fixed in trunk r15299:
> > >
> > > http://trac.xapian.org/changeset/15299
> >
> > Great, tested succesfully, thank you!!
>
> I realised I missed a case:
>
> http://trac.xapian.org/changeset/15300
>
> It doesn't occur with small examples like the one you sent, but once
> there are more than a few thousand documents that fix is needed too.
>
> Cheers,
> Olly
>
Olly, I'm sorry to bother you again. I have a different error converting
databases with some termlist, (the two patches are correctly applied).
# 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
# rm old_db/termlist.*
# xapian-chert-update old_db new_db
postlist: Reduced by 56.927% 1808K (3176K -> 1368K)
record: Reduced by 14.2857% 32K (224K -> 192K)
termlist: doesn't exist
position: Size unchanged (0K)
spelling: Size unchanged (0K)
synonym: Size unchanged (0K)
Let me know if you need another database fore some tests, the former had not
the termlist.
--
---------------------
Luca Barbieri
More information about the Xapian-discuss
mailing list