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