lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <>
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 ...


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

View raw message