lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dror Matalon <d...@zapatec.com>
Subject Re: Rebuild index?
Date Wed, 10 Dec 2003 21:46:19 GMT

What version are you running?

Something removed one of the files that Lucene needs while it was using
the index.

Could there have been something running in the background and cleaning
/tmp?


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
> 

-- 
Dror Matalon
Zapatec Inc 
1700 MLK Way
Berkeley, CA 94709
http://www.fastbuzz.com
http://www.zapatec.com

---------------------------------------------------------------------
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