Hello,
We use lucene to search menus, there are around 10000 items in
index and sometimes I see error like this:
(/tmp/index-menu is index directory)
java.io.FileNotFoundException: /tmp/index-menu/_6q2.prx (No such file or directory)
at java.io.RandomAccessFile.open(Native Method)
at java.io.RandomAccessFile.<init>(RandomAccessFile.java:204)
at
org.apache.lucene.store.FSInputStream$Descriptor.<init>(FSDirectory.java:389)
at org.apache.lucene.store.FSInputStream.<init>(FSDirectory.java:418)
at org.apache.lucene.store.FSDirectory.openFile(FSDirectory.java:291)
at org.apache.lucene.index.SegmentReader.<init>(SegmentReader.java:132)
at org.apache.lucene.index.SegmentReader.<init>(SegmentReader.java:103)
at org.apache.lucene.index.IndexReader$1.doBody(IndexReader.java:119)
at org.apache.lucene.store.Lock$With.run(Lock.java:148)
at org.apache.lucene.index.IndexReader.open(IndexReader.java:110)
...
When I just rebuild the index the problem is gone.
Could someone hint what can be the reason of such a strange behavior?
--
Thanks,
Igor Semenko,
http://www.webfood.us
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]