lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Cutting <cutt...@lucene.com>
Subject Re: How does delete work?
Date Sat, 23 Nov 2002 22:38:53 GMT
Clemens Marschner wrote:
> So what if documents are deleted in the meantime? Then the recursive merge
> can't determine the X segments with the same size.

If you read my previous message you'll find the answer:

Doug Cutting wrote:
 > It's actually a little more complicated than that, since (among other
 > reasons) after docuuments are deleted a segment's size will no longer
 > be exactly a power of the mergeFactor.

If you want the gory details, look at IndexWriter.java.  Or just set 
IndexReader.infoStream to System.out, then add and delete documents and 
watch what happens.

Doug


--
To unsubscribe, e-mail:   <mailto:lucene-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-user-help@jakarta.apache.org>


Mime
View raw message