lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brisbart Franck <Franck.Brisb...@kelkoo.net>
Subject Re: Problem when searching ..
Date Fri, 15 Apr 2005 08:05:27 GMT
Did you have a look at this thread ??
http://mail-archives.eu.apache.org/mod_mbox/jakarta-lucene-dev/200401.mbox/%3c40056471.5020704@jivesoftware.com%3e
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: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message