We are running lucene-1.3-rc2, I doubt that some process could delete files and I'm sure the server had not been restarted. I'll have to check whether there are files in index directory when the problem appear again.
Thanks, Igor Semenko, http://www.webfood.us DM> What version are you running? DM> Something removed one of the files that Lucene needs while it was using DM> the index. DM> Could there have been something running in the background and cleaning DM> /tmp? DM> On Wed, Dec 10, 2003 at 01:43:42PM +0200, Igor Semenko wrote: >> 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] >> -- Best regards, Igor mailto:[EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
