--- Dror Matalon <[EMAIL PROTECTED]> wrote: > So, the lock is set, the segments file is opened, all the files in > the > segments file are opened and then the lock is released? Is that > correct?
Yes. See IndexReader. > And we're relying on the OS to keep the file handles around even if > the > files are deleted under us? Si. Otis > On Mon, Dec 01, 2003 at 02:10:55PM -0800, Doug Cutting wrote: > > Kevin A. Burton wrote: > > >Would there be any performance improvement in query throughput and > > > >latency if locking were disabled for readonly indexes? > > > > The locks are only consulted when opening a new IndexReader. I > doubt > > very much that you're doing this often enough for this to be > significant. > > > > Doug > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: > [EMAIL PROTECTED] > > > > -- > Dror Matalon > Zapatec Inc > 1700 MLK Way > Berkeley, CA 94709 > http://www.fastbuzz.com > http://www.zapatec.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > __________________________________ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]