lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grant Ingersoll <gsing...@syr.edu>
Subject Re: Semantics of a closed IndexInput
Date Tue, 04 Apr 2006 13:01:04 GMT


Grant Ingersoll wrote:
> OK.  They should not be used, but we have no way of determining if a 
> IndexInput is actually closed, right?  At least Lucene does not track 
> it.  I run into this issue with Lazy Loading.  I can still access the 
> value of a lazy field after the fieldsStream IndexInput is closed _if_ 
> I have not made my thread local clone yet, but do so after closing the 
> FieldsReader.
Btw, I am not entirely sure this is a bad thing, as it would allow users 
to access their lazy field data after the stream has been closed.  But 
still, it doesn't seem right.

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