lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yajun <>
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

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.


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:
Sent from the Lucene - Java Developer mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message