lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yonik Seeley <yo...@lucidimagination.com>
Subject Re: segment_N file is missed
Date Wed, 16 Jun 2010 14:38:55 GMT
On Tue, Jun 15, 2010 at 5:23 AM, Michael McCandless
<lucene@mikemccandless.com> wrote:
> CheckIndex is not able to recover from this corruption (missing
> segments_N file); this would be a nice addition...
>
> But it sounds like you've worked out a way to write your own segmetns_N?
>
> Use oal.store.ChecksumIndexOutput (wraps any other IndexOutput) to
> properly write the checksum.
>
> BTW how did you lose your segments_N file...?

Can this also be caused by the new behavior introduced here?
https://issues.apache.org/jira/browse/LUCENE-2386
If you open a writer, add docs, and then crash before calling commit?


-Yonik
http://www.lucidimagination.com

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message