lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Cutting <>
Subject Re: Update performance/indexwriter.delete()?
Date Thu, 14 Apr 2005 16:35:49 GMT
Yonik Seeley wrote:
> There are times, however, when it would be nice for
> deletes to be able to be concurrent with adds.

It would also be nice if good coffee was free.

> Q: can docids change after an add() (with merging segments going on
> behind the scenes) or is optimize() the only call that ends up
> changing the docid->Document mapping?

Once there have been deletions, any addition or optimization can trigger 
renumbering.  If there were no deletions since the last optimize, then 
no renumbering will be triggered by additions or optimization.


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

View raw message