On Tue, Jun 15, 2010 at 5:23 AM, Michael McCandless <luc...@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-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org