Return-Path: X-Original-To: apmail-lucene-general-archive@www.apache.org Delivered-To: apmail-lucene-general-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B62E37208 for ; Fri, 14 Oct 2011 13:50:25 +0000 (UTC) Received: (qmail 52735 invoked by uid 500); 14 Oct 2011 13:50:25 -0000 Delivered-To: apmail-lucene-general-archive@lucene.apache.org Received: (qmail 52647 invoked by uid 500); 14 Oct 2011 13:50:24 -0000 Mailing-List: contact general-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: general@lucene.apache.org Delivered-To: mailing list general@lucene.apache.org Received: (qmail 52639 invoked by uid 99); 14 Oct 2011 13:50:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Oct 2011 13:50:24 +0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=FREEMAIL_FROM,SPF_NEUTRAL,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 216.139.236.26 is neither permitted nor denied by domain of bsargurunathan@gmail.com) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Oct 2011 13:50:17 +0000 Received: from ben.nabble.com ([192.168.236.152]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1REi97-0000B3-0v for general@lucene.apache.org; Fri, 14 Oct 2011 06:49:57 -0700 Date: Fri, 14 Oct 2011 06:49:57 -0700 (PDT) From: bsargurunathan To: general@lucene.apache.org Message-ID: <1318600197021-3421733.post@n3.nabble.com> Subject: Segment files deleted automatically MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi dudes, In my project, supposed to hit many number of times the lucene, am getting the following exception. java.io.FileNotFoundException: no segments* file found in org.apache.lucene.store.FSDirectory@D:\Registry_1_Oct\SOARegistry\WEB-INF\cache\Index: files: _0.cfs at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:604) at org.apache.lucene.index.DirectoryIndexReader.open(DirectoryIndexReader.java:115) at org.apache.lucene.index.IndexReader.open(IndexReader.java:316) at org.apache.lucene.index.IndexReader.open(IndexReader.java:206) at org.apache.lucene.search.IndexSearcher.(IndexSearcher.java:47) at com.ssc.soareg.lucene.SmartSearch.performSearch(SmartSearch.java:309) at com.ssc.soareg.junits.Test_LuceneTest$Search.run(Test_LuceneTest.java:72) Actually i faced it from my production, after that i re-produced my local environment by continuously hit the lucene index. Can anyone give solution for that. Thanks Guru -- View this message in context: http://lucene.472066.n3.nabble.com/Segment-files-deleted-automatically-tp3421733p3421733.html Sent from the Lucene - General mailing list archive at Nabble.com.