lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <otis_gospodne...@yahoo.com>
Subject Re: disable locks on read only indexes (performance improvement?)
Date Tue, 02 Dec 2003 12:21:25 GMT

--- Dror Matalon <dror@zapatec.com> 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: lucene-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail:
> lucene-user-help@jakarta.apache.org
> > 
> 
> -- 
> Dror Matalon
> Zapatec Inc 
> 1700 MLK Way
> Berkeley, CA 94709
> http://www.fastbuzz.com
> http://www.zapatec.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: lucene-user-help@jakarta.apache.org
> 


__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


Mime
View raw message