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 11:46:53 GMT
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.yaish@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-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