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

On Sat, Jan 9, 2010 at 3:12 PM, Dvora <barak.ya...@gmail.com> wrote:
>
> Well, this rule seems not working...
>
> I tried to create an index of 90k documents, with different merge factors.
> Somehow, the files size in the final index were 1MB, or 8MB - nothing in the
> middle. Am I missing something? Is the best way to really control the files
> size is to implement a custom Directory?
>
>
>
> Michael McCandless-2 wrote:
>>
>> So the rough upper bound on any segment's size is mergeFactor *
>> maxMergeMB.
>>
>
> --
> View this message in context: 
> http://old.nabble.com/Is-there-a-way-to-limit-the-size-of-an-index--tp27056573p27092361.html
> Sent from the Lucene - Java Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
> For additional commands, e-mail: java-user-h...@lucene.apache.org
>
>

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

Reply via email to