Did you have a look at this thread ?? http://mail-archives.eu.apache.org/mod_mbox/jakarta-lucene-dev/200401.mbox/[EMAIL PROTECTED] It may help you
Franck
Mufaddal Khumri wrote:
Hi,
I am creating an index of my data that's persisted by Hibernate using
Lucene. I am running my indexer on a huge data set. My indexing takes
1312805ms. At the end of which I get a 26,266KB directory.
I can view the contents of my index directory using Luke.
When I copy my webapp under Tomcat and try to search on it I get the following exception:
java.io.FileNotFoundException: C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\tan\tan-search-index\_33.fnm (The system cannot find the file specified) java.io.RandomAccessFile.open(Native Method) java.io.RandomAccessFile.<init>(Unknown Source) org.apache.lucene.store.FSInputStream$Descriptor.<init>(FSDirectory.java :376) org.apache.lucene.store.FSInputStream.<init>(FSDirectory.java:405) org.apache.lucene.store.FSDirectory.openFile(FSDirectory.java:268) org.apache.lucene.index.FieldInfos.<init>(FieldInfos.java:53) org.apache.lucene.index.SegmentReader.initialize(SegmentReader.java:109) org.apache.lucene.index.SegmentReader.<init>(SegmentReader.java:94) org.apache.lucene.index.IndexReader$1.doBody(IndexReader.java:122) org.apache.lucene.store.Lock$With.run(Lock.java:109) org.apache.lucene.index.IndexReader.open(IndexReader.java:111) org.apache.lucene.index.IndexReader.open(IndexReader.java:95) org.apache.lucene.search.IndexSearcher.<init>(IndexSearcher.java:38)
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]