lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nott <bharath.n...@gmail.com>
Subject FileNotFound Exception While Indexing
Date Tue, 12 Jun 2007 14:36:16 GMT
Hi
We run a batch job written on Java that reads a Oracle DB and creates a
Lucene INDEX. We use Compass interface to do the index creation operations
This is a scheduled job and this is a batch insert transaction job
suddenly we are getting the following exception.
I wnet through the forum and various FAQ's but could not find any thing
conclusive for this
Is some thing wrong in our setup or this is a bug ?

java.io.FileNotFoundException:
/opt/ibm/wwwroot3/lucene/IRIS/IRISLIVE1.3.1/INDEX9/index/irismodel/_v3.cfs
(No such file or directory)
    at java.io.RandomAccessFile.open(Native Method)
    at java.io.RandomAccessFile.<init>(RandomAccessFile.java:212)
    at org.apache.lucene.store.FSIndexInput$Descriptor.<init>(
FSDirectory.java:497)
    at org.apache.lucene.store.FSIndexInput.<init>(FSDirectory.java:522)
    at org.apache.lucene.store.FSDirectory.openInput(FSDirectory.java:434)
    at org.apache.lucene.index.CompoundFileReader.<init>(
CompoundFileReader.java:63)
    at org.apache.lucene.index.SegmentReader.initialize(SegmentReader.java
:154)
    at org.apache.lucene.index.SegmentReader.get(SegmentReader.java:140)
    at org.apache.lucene.index.SegmentReader.get(SegmentReader.java:121)
    at org.apache.lucene.index.IndexWriter.mergeSegments(IndexWriter.java
:1473)
    at org.apache.lucene.index.IndexWriter.maybeMergeSegments(
IndexWriter.java:1415)
    at org.apache.lucene.index.IndexWriter.flushRamSegments(IndexWriter.java
:1352)
    at org.apache.lucene.index.IndexWriter.maybeFlushRamSegments(
IndexWriter.java:1344)
    at org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:697)




at
org.compass.core.lucene.engine.transaction.BatchInsertTransaction.doCreate(
BatchInsertTransaction.java:208)
    at org.compass.core.lucene.engine.transaction.AbstractTransaction.create
(AbstractTransaction.java:109)
    at org.compass.core.lucene.engine.LuceneSearchEngine.create(
LuceneSearchEngine.java:330)
    at org.compass.core.impl.DefaultCompassSession.create(
DefaultCompassSession.java:288)
    at org.worldbank.index.iris.IRISIndexService.createFullIndex(
IRISIndexService.java:79)
    at org.worldbank.search.cron.IRISIndexCron.execute(IRISIndexCron.java
:31)
    at org.worldbank.search.cron.AllCrons.main(AllCrons.java:15)

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message