Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 81049 invoked from network); 6 Oct 2010 10:30:54 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 6 Oct 2010 10:30:54 -0000 Received: (qmail 66363 invoked by uid 500); 6 Oct 2010 10:30:52 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 66252 invoked by uid 500); 6 Oct 2010 10:30:49 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 66243 invoked by uid 99); 6 Oct 2010 10:30:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Oct 2010 10:30:49 +0000 X-ASF-Spam-Status: No, hits=2.8 required=10.0 tests=FREEMAIL_FROM,FREEMAIL_REPLYTO,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of simon.willnauer@googlemail.com designates 209.85.216.176 as permitted sender) Received: from [209.85.216.176] (HELO mail-qy0-f176.google.com) (209.85.216.176) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Oct 2010 10:30:44 +0000 Received: by qyk4 with SMTP id 4so244156qyk.14 for ; Wed, 06 Oct 2010 03:30:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:reply-to :in-reply-to:references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=NQV/9TgmXj0rVS6+fm1jOhE6aS9klH07QVcAdD8JJA0=; b=Kng2Jj6pDcHxuDk7cixQS/J6cO8LAljSSnUuPiDtH7bcqySKWlSWTFOu5Y1bp4eHRu RmkXB83UFYSmzkfOWiid5UO0rLGPQ996amjj2xMFHzcLGDKYrSca0AA1xNaqVjYo1TlV 5OQS9LdYoza6N7lNjRXzmOwRH/FfMLQUCDqYE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:content-type:content-transfer-encoding; b=fpIZYNs57sz2/TT+kfDlzNxAJ/DCZmgihlCZqaRw1GFqj4gFskcV6+YSkBYjDvAnCB RCnwbFHKKEYCcHuB3jwZyInOClcD1OrT5mlLMBEv32KMgNHDWpsI8jR1HaBZAR6v7SBa +4YnGM1khHeTwppf9GY0aG1bk3nE5x2qp7i8M= MIME-Version: 1.0 Received: by 10.224.69.14 with SMTP id x14mr9358957qai.212.1286361023628; Wed, 06 Oct 2010 03:30:23 -0700 (PDT) Received: by 10.229.245.138 with HTTP; Wed, 6 Oct 2010 03:30:23 -0700 (PDT) Reply-To: simon.willnauer@gmail.com In-Reply-To: References: <4CAC4145.8080900@informatik.hu-berlin.de> Date: Wed, 6 Oct 2010 12:30:23 +0200 Message-ID: Subject: Re: Restore documents marked as deleted From: Simon Willnauer To: java-user@lucene.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Wed, Oct 6, 2010 at 12:18 PM, Michael McCandless 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. =C2=A0Conceptually this should be possible (there was a rece= nt > 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 > 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 =C2=A0a commit. (Lesson le= arned) 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, >> =C2=A0 =C2=A0Philippe >> >> --------------------------------------------------------------------- >> 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