lucene-dev mailing list archives

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


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

View raw message