lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Re: Is there a way to limit the size of an index?
Date Sun, 10 Jan 2010 12:10:57 GMT
What did you set your IndexWriter ramBufferSizeMB to?  That controls
how large the initial segments are.

Are you using compound file format?  (that's the default).

Mike

On Sun, Jan 10, 2010 at 7:03 AM, Dvora <barak.yaish@gmail.com> wrote:
>
> Oh, as an excercise I tried to create 6MB files. Using the rule mentioned
> before, I set the maxMergeMB to 0.6 (and then 0.62, 06.64... 1.8) and used
> the default mergeFactor - I thought that should do for 6MB files...
>
>
> Michael McCandless-2 wrote:
>>
>> What settings did you use (mergeFactor, maxMergeMB)?
>>
>> "nothing in the middle" is normal.  Segments sizes are often rather
>> quantized, for a newly created index.  Ie a bunch of segs will be 1
>> MB, a bunch ~8, a bunch ~64 (assuming the IW flushes at ~ 1MB and
>> mergeFactor is 8).
>>
>> Mike
>>
>>
>
> --
> View this message in context: http://old.nabble.com/Is-there-a-way-to-limit-the-size-of-an-index--tp27056573p27097693.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
>
>

---------------------------------------------------------------------
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