lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Willnauer <simon.willna...@googlemail.com>
Subject Re: Restore documents marked as deleted
Date Wed, 06 Oct 2010 10:30:23 GMT
On Wed, Oct 6, 2010 at 12:18 PM, Michael McCandless
<lucene@mikemccandless.com> wrote:
> 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...

Seems its time to do that many folks come up with that kind of request
- I will see if I can find some time though....

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

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