You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by ATTACHOT TUANGPHON <at...@rondhuit.com> on 2009/11/05 14:50:47 UTC
Regarding to ramBufferSizeMB and mergeFactor
Hello, everybody
I am a new Solr user.
I have a question about ramBufferSizeMB and mergeFactor.
I would like to know if I increase number of mergeFactor, do I have to
change number of ramBufferSizeMB too?
For example:
I set mergeFactor as 30 and ramBufferSizeMB as 50
I would like to change mergeFactor to 50 , do I have to increase
ramBufferSizeMB?
Re: Regarding to ramBufferSizeMB and mergeFactor
Posted by mr...@zappos.com.
Quoting Jeff Newburn <jn...@zappos.com>:
> If I am correct the two are related but not dependent on each other. Merge
> factor is used to determine how many segment files exist on disk where as
> the ram buffer is to determine how often the flush to disk will happen. So
> you should be able to set them independently.
> --
> Jeff Newburn
> Software Engineer, Zappos.com
> jnewburn@zappos.com - 702-943-7562
>
>
>> From: ATTACHOT TUANGPHON <at...@rondhuit.com>
>> Reply-To: <so...@lucene.apache.org>
>> Date: Thu, 05 Nov 2009 22:50:47 +0900
>> To: <so...@lucene.apache.org>
>> Subject: Regarding to ramBufferSizeMB and mergeFactor
>>
>> Hello, everybody
>>
>> I am a new Solr user.
>> I have a question about ramBufferSizeMB and mergeFactor.
>> I would like to know if I increase number of mergeFactor, do I have to
>> change number of ramBufferSizeMB too?
>>
>> For example:
>> I set mergeFactor as 30 and ramBufferSizeMB as 50
>> I would like to change mergeFactor to 50 , do I have to increase
>> ramBufferSizeMB?
>>
>
>
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
Re: Regarding to ramBufferSizeMB and mergeFactor
Posted by Attachot Tuangphon <at...@rondhuit.com>.
Hi, Jeff Newburn
Thank you for you good explanations. That helps me a lot.
Attachot Tuangphon
On 09/11/06 0:36, "Jeff Newburn" <jn...@zappos.com> wrote:
> If I am correct the two are related but not dependent on each other. Merge
> factor is used to determine how many segment files exist on disk where as
> the ram buffer is to determine how often the flush to disk will happen. So
> you should be able to set them independently.
> --
> Jeff Newburn
> Software Engineer, Zappos.com
> jnewburn@zappos.com - 702-943-7562
>
>
>> From: ATTACHOT TUANGPHON <at...@rondhuit.com>
>> Reply-To: <so...@lucene.apache.org>
>> Date: Thu, 05 Nov 2009 22:50:47 +0900
>> To: <so...@lucene.apache.org>
>> Subject: Regarding to ramBufferSizeMB and mergeFactor
>>
>> Hello, everybody
>>
>> I am a new Solr user.
>> I have a question about ramBufferSizeMB and mergeFactor.
>> I would like to know if I increase number of mergeFactor, do I have to
>> change number of ramBufferSizeMB too?
>>
>> For example:
>> I set mergeFactor as 30 and ramBufferSizeMB as 50
>> I would like to change mergeFactor to 50 , do I have to increase
>> ramBufferSizeMB?
>>
Re: Regarding to ramBufferSizeMB and mergeFactor
Posted by Jeff Newburn <jn...@zappos.com>.
If I am correct the two are related but not dependent on each other. Merge
factor is used to determine how many segment files exist on disk where as
the ram buffer is to determine how often the flush to disk will happen. So
you should be able to set them independently.
--
Jeff Newburn
Software Engineer, Zappos.com
jnewburn@zappos.com - 702-943-7562
> From: ATTACHOT TUANGPHON <at...@rondhuit.com>
> Reply-To: <so...@lucene.apache.org>
> Date: Thu, 05 Nov 2009 22:50:47 +0900
> To: <so...@lucene.apache.org>
> Subject: Regarding to ramBufferSizeMB and mergeFactor
>
> Hello, everybody
>
> I am a new Solr user.
> I have a question about ramBufferSizeMB and mergeFactor.
> I would like to know if I increase number of mergeFactor, do I have to
> change number of ramBufferSizeMB too?
>
> For example:
> I set mergeFactor as 30 and ramBufferSizeMB as 50
> I would like to change mergeFactor to 50 , do I have to increase
> ramBufferSizeMB?
>