lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
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...

Mike

On Wed, Oct 6, 2010 at 5:28 AM, Philippe Thomas
<thomas@informatik.hu-berlin.de> 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: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>

---------------------------------------------------------------------
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