FileNotFound Exception

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

FileNotFound Exception

ravi-19
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: [hidden email]
For additional commands, e-mail: [hidden email]