lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <>
Subject Re: Restore documents marked as deleted
Date Wed, 06 Oct 2010 10:18:37 GMT
There's no quick way to recover from this.

You'd need to derive the segments_N file by opening the files that did
get written.  Conceptually this should be possible (there was a recent
thread about it), but I don't think anyone has actually created the
tool to do so...


On Wed, Oct 6, 2010 at 5:28 AM, Philippe Thomas
<> wrote:
> Hi,
> I was indexing some documents, but my program crashed after several days of
> work. If I reopen this index it is empty. I guess the reason is that
> auto-commit was not set and I never performed  a commit. (Lesson learned) So
> probably all documents are marked as "deleted" and re-opening the index
> leads to deletion of these documents.
> However, is there a possibility to avoid this? Or do I have to re-index all
> documents again?
> Best,
>    Philippe
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message