lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Noll <>
Subject Re: Document ID shuffling under 2.3.x (on merge?)
Date Mon, 17 Mar 2008 22:10:27 GMT
On Monday 17 March 2008 19:38:46 Michael McCandless wrote:
> Well ... expungeDeletes() first forces a flush, at which point the
> deletions are flushed as a .del file against the just flushed
> segment.  Still, if you call expungeDeletes after every flush
> (commit) then it's only 1 segment whose deletions need to be expunged
> so it should be fast.

Now I'm calling it after every failure.  It adds about 15% time if every 
addDocument fails, but because very few documents actually fail the real 
penalty isn't too great.

I can confirm that it fixed the issue, anyway.


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

View raw message