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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to