lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lorenzo Viscanti <lorenzo.visca...@gmail.com>
Subject Re: Difference between minMergeDocs and mergeFactor
Date Mon, 09 May 2005 16:23:26 GMT
Hi Barbara, while mergeFactor deals with the size of new segments and the 
number of segments in the index, minMergeDocs deals only with the size of 
new segments.
minMergeDocs sets the number of documents a new segment must contain before 
it is written from RAM to the index. So does mergeFactor; in addition to 
that mergeFactor sets at the same time the maximum number of segments that 
will be present in the index. When the number is equal to mergeFactor Lucene 
tries to merge all the segments into a new one.
Ciao,
Lorenzo


On 5/8/05, Barbara Krausz <bkrausz@web.de> wrote:
> 
> Hi,
> 
> can anybody tell me the difference between minMergeDocs and mergeFactor
> (perhaps an example?)?
> 
> Thanks
> Barbara
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
> 
> 


-- 

Lorenzo Viscanti

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message