lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ravi" <r...@htinc.com>
Subject FileNotFound Exception
Date Mon, 09 May 2005 15:06:16 GMT
I'm getting the following exception when I try to update my searcher
object. When I checked the index folder it does not have the .fnm file.
I have .cfs files, a deletable and a segments file. Has anybody had
similar problem? 

Thanks in advance,
Ravi.  

The class java.io.FileNotFoundException's message
follows:/a/newsindex/20050502173800/_6i2f.fnm (No such file or
directory)The Stack trace follows:java.io.FileNotFoundException:
/a/index/20050502173800/_6i2f.fnm (No such file or directory)
        at java.io.RandomAccessFile.open(Native Method)
        at
java.io.RandomAccessFile.<init>(RandomAccessFile.java(Compiled Code))
        at
org.apache.lucene.store.FSInputStream$Descriptor.<init>(FSDirectory.java
(Inlined Compiled Code))
        at
org.apache.lucene.store.FSInputStream.<init>(FSDirectory.java(Inlined
Compiled Code))
        at
org.apache.lucene.store.FSDirectory.openFile(FSDirectory.java(Compiled
Code))
        at
org.apache.lucene.index.FieldInfos.<init>(FieldInfos.java(Compiled
Code))
        at
org.apache.lucene.index.SegmentReader.initialize(SegmentReader.java(Comp
iled Code))
        at
org.apache.lucene.index.SegmentReader.<init>(SegmentReader.java(Inlined
Compiled Code))
        at
org.apache.lucene.index.IndexReader$1.doBody(IndexReader.java(Compiled
Code))
        at org.apache.lucene.store.Lock$With.run(Lock.java(Compiled
Code))
        at
org.apache.lucene.index.IndexReader.open(IndexReader.java(Inlined
Compiled Code))
        at
org.apache.lucene.index.IndexReader.open(IndexReader.java(Inlined
Compiled Code))
        at
org.apache.lucene.search.IndexSearcher.<init>(IndexSearcher.java(Inlined
Compiled Code))




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