lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Lu <chris...@gmail.com>
Subject Re: FileNotFound
Date Thu, 04 Aug 2005 01:22:47 GMT
In my experience, when the index is updated, if you don't refresh the
searcher by open the index again, you will have this error.

-- 
Chris Lu
------------
Lucene Search RAD on Any Database
http://www.dbsight.net


On 8/1/05, Tony Wiegand <tmwiegand@comcast.net> wrote:
> 
>   Does anyone know why lucene would throw the following stacktrace
> when a search runs while the system is in the process of merging
> documents?   Based on the book, this should be a legal operation.
> I've seen this stacktrace mentioned several times in the archives but
> I never seen a solution to the issue.   We are running JDK1.4.2 on
> Solaris 2.8 and using lucene.1.4.3.    We are seeing this happen
> quite often on our production system.
> 
> java.io.FileNotFoundException: /apps/lucene/_2meu.fnm (No such file
> or directory)
> at java.io.RandomAccessFile.open(Native Method)
> at java.io.RandomAccessFile.<init>(RandomAccessFile.java:200)
> at org.apache.lucene.store.FSInputStream$Descriptor.<init>
> (FSDirectory.java:376)
> at org.apache.lucene.store.FSInputStream.<init>(FSDirectory.java:405)
> at org.apache.lucene.store.FSDirectory.openFile(FSDirectory.java:268)
> at org.apache.lucene.index.FieldInfos.<init>(FieldInfos.java:53)
> at org.apache.lucene.index.SegmentReader.initialize
> (SegmentReader.java:109)
> at org.apache.lucene.index.SegmentReader.<init>(SegmentReader.java:94)
> at org.apache.lucene.index.IndexReader$1.doBody(IndexReader.java:122)
> at org.apache.lucene.store.Lock$With.run(Lock.java:109)
> at org.apache.lucene.index.IndexReader.open(IndexReader.java:111)
> at org.apache.lucene.index.IndexReader.open(IndexReader.java:95)
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
> 
>

---------------------------------------------------------------------
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