lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yajun <yliu...@gmail.com>
Subject Re: [jira] Created: (LUCENE-1328) FileNotFoundException in
Date Mon, 07 Jul 2008 19:59:33 GMT

I don't use deleteDocument nor setNorm with IndexReader. I tried both using
hard links (cp -lr) and copy (cp -r) to create snapshot, both has the same
problem. 

It seems that segment file segments_xxx has segment that does not exist in
the index directory anymore.

I used to delete all the "invalidated" indexes. Now I'll keep them,
hopefully it will give me some clue.

--Yajun


Michael McCandless-2 wrote:
> 
> 
> IndexReader only does deletes if you use the deleteDocument or setNorm  
> methods.  Are you using these?  If not, then I think there must be  
> something outside of Lucene causing this because IndexReader won't  
> make any changes to an index otherwise.
> 
> It's very strange that all of your snapshots suddenly become unusable  
> at the same time.
> 
> Are your snapshots complete copies, ie, there are no hard or soft  
> links in them?
> 
> Mike
> 
> 

-- 
View this message in context: http://www.nabble.com/-jira--Created%3A-%28LUCENE-1328%29-FileNotFoundException-in-tp18311277p18325285.html
Sent from the Lucene - Java Developer mailing list archive at Nabble.com.


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


Mime
View raw message