Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 81437 invoked from network); 29 Aug 2006 08:10:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 29 Aug 2006 08:10:16 -0000 Received: (qmail 39581 invoked by uid 500); 29 Aug 2006 08:10:04 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 39551 invoked by uid 500); 29 Aug 2006 08:10:03 -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 39523 invoked by uid 99); 29 Aug 2006 08:10:03 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Aug 2006 01:10:03 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [62.213.161.130] (HELO redhat.sirma.bg) (62.213.161.130) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Aug 2006 01:10:01 -0700 Received: from [192.168.128.211] (stenly.sirma.int [192.168.128.211]) by redhat.sirma.bg (8.12.7/8.12.7/Sirma Linux 0.6) with ESMTP id k7T89b8h019397 for ; Tue, 29 Aug 2006 11:09:38 +0300 Message-ID: <44F3F64B.8030709@sirma.bg> Date: Tue, 29 Aug 2006 11:09:47 +0300 From: Stanislav Jordanov User-Agent: Thunderbird 1.4 (Windows/20050908) MIME-Version: 1.0 To: java-user@lucene.apache.org Subject: Reviving a dead index Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by Sirma Antivirus System X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N What might be the possible reason for an IndexReader failing to open properly, because it can not find a .fnm file that is expected to be there: java.io.FileNotFoundException: E:\index4\_1j8s.fnm (The system cannot find the file specified) at java.io.RandomAccessFile.open(Native Method) at java.io.RandomAccessFile.(RandomAccessFile.java:212) at org.apache.lucene.store.FSIndexInput$Descriptor.(FSDirectory.java:425) at org.apache.lucene.store.FSIndexInput.(FSDirectory.java:434) at org.apache.lucene.store.FSDirectory.openInput(FSDirectory.java:324) at org.apache.lucene.index.FieldInfos.(FieldInfos.java:56) at org.apache.lucene.index.SegmentReader.initialize(SegmentReader.java:144) at org.apache.lucene.index.SegmentReader.get(SegmentReader.java:129) at org.apache.lucene.index.SegmentReader.get(SegmentReader.java:110) at org.apache.lucene.index.IndexReader$1.doBody(IndexReader.java:154) at org.apache.lucene.store.Lock$With.run(Lock.java:109) at org.apache.lucene.index.IndexReader.open(IndexReader.java:143) at org.apache.lucene.index.IndexReader.open(IndexReader.java:127) at org.apache.lucene.search.IndexSearcher.(IndexSearcher.java:42) The only thing that comes to my mind is that last time the indexing process was not shut down properly. Is there a way to revive the index or everything should be reindexed from scratch? Thanks, Stanislav --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org