lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Igor Semenko ...@avik.biz>
Subject Re[2]: Rebuild index?
Date Thu, 11 Dec 2003 07:57:56 GMT

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: lucene-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: lucene-user-help@jakarta.apache.org
>> 




-- 
Best regards,
 Igor                            mailto:is@avik.biz


---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


Mime
View raw message