lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robert engels <reng...@ix.netcom.com>
Subject Re: Lock-less commits
Date Fri, 18 Aug 2006 22:11:05 GMT
You also have to make sure you test this on non-Windows systems.  
Since a delete in Windows is prevented when the file is open, but non- 
Windows system do not have this limitation so there is a far greater  
chance you will have an inconsistent index.


On Aug 18, 2006, at 5:00 PM, Michael McCandless wrote:

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


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