lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Re: Lock-less commits
Date Fri, 18 Aug 2006 22:00:33 GMT

> Also, the commit lock is there to allow the merge process to remove 
> unused segments. Without it, a reader might get half way through reading 
> the segments, only to find some missing, and then have to restart 
> reading again. In a highly interactive environment this would be too 
> inefficient.

OK this is a good point.  I will test the added cost of my changes
(over the normal costs of instantiating an IndexSearcher) when I run
benchmarks ...

Mike

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