[Xapian-discuss] Failure trying to update document.
Olly Betts
olly at survex.com
Mon Feb 1 05:51:11 GMT 2010
On Mon, Feb 01, 2010 at 06:23:47AM +0100, Jesper Krogh wrote:
> Olly Betts wrote:
> > If you have the original data, rebuilding is the simplest and safest
> > option.
> >
> > You may be able to use copydatabase to generate a good copy. If the
> > issue is just a missing termlist entry for one (or several) documents,
> > that would skip those, but if things are more messed up it may fail.
>
> I tried to run xapian-compact over night. It has processed the termlist
> now and xapian-check is ok on it. Now I'm just waiting for the
> position.DB to finish.
That would fix the problem if it is just with a dividing key in a non-leaf
block. If an entry is actually missing, you'll still get DocNotFoundError,
and copydatabase may still help.
Cheers,
Olly
More information about the Xapian-discuss
mailing list