You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@lucene.apache.org by bsargurunathan <bs...@gmail.com> on 2011/10/14 15:49:57 UTC

Segment files deleted automatically

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.<init>(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.