lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dvora <barak.ya...@gmail.com>
Subject Re: Is there a way to limit the size of an index?
Date Thu, 07 Jan 2010 16:04:35 GMT

Can you explain how the combination of merge factor and max merge size
control the size of files?

For example, if one would like to limit the files size to 3,4 or 7MB - how
these parameters values can be predicted?



Michael McCandless-2 wrote:
> 
> 
> This tells the IndexWriter NOT to merge any segment that's over 1.0 MB
> in size.  With a default merge factor of 10, this should "generally"
> mean you don't get a segment over 10MB, though it may not be a hard
> guarantee (you can lower the 1.0 if you still see a segment over 10
> MB).
> 
> 

-- 
View this message in context: http://old.nabble.com/Is-there-a-way-to-limit-the-size-of-an-index--tp27056573p27062291.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message