lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <hossman_luc...@fucit.org>
Subject Re: [jira] Commented: (LUCENE-690) LazyField use of IndexInput not thread safe
Date Thu, 19 Oct 2006 18:41:53 GMT

: Otherwise, my understanding is that the seek() call before reading
: should put it into a known state, but I am guessing your not so sure on
: that point.  So the question is seek() sufficient to put an IndexInput
: into a known safe state, right?

isn't it more subtle then that? ... IndexInput.clone() states that the
clone will be "positioned at the same point as the stream they were cloned
from" ... that implies that the clone will be in a consistent usable state
even with the client calling seek on the clone() .... is that
invarient currently met by BufferedIndexInput in a multithreaded case?




-Hoss


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