lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Rutherglen <jason.rutherg...@gmail.com>
Subject Re: Is it possible to set the merge policy setMaxMergeMB from Solr
Date Sat, 18 Dec 2010 03:44:39 GMT
Probably best to add something here as it currently has nothing
regarding merge policies and has a long standing TODO on the
indexDefaults.  http://wiki.apache.org/solr/SolrConfigXml

On Fri, Dec 17, 2010 at 7:22 PM, Jason Rutherglen
<jason.rutherglen@gmail.com> wrote:
> I worked on the patch and I can't keep it straight either.  We need to
> update the wiki?
>
> I believe <double name="maxMergeMB">64.0</double> is correct.
>
> On Fri, Dec 17, 2010 at 10:25 AM, Burton-West, Tom <tburtonw@umich.edu> wrote:
>> I'm a bit confused.
>>
>> There are some examples in the JIRA issue for Solr 1447, but I can't tell from reading
it what the final allowed syntax is.
>>
>> I see
>>
>> <!--<mergePolicy class="org.apache.lucene.index.LogByteSizeMergePolicy">-->
>>      <!--<double name="maxMergeMB">64.0</double>-->
>>    <!--</mergePolicy>-->
>> in the JIRA issue and in what I think is the test case config file:
>> http://svn.apache.org/viewvc/lucene/dev/branches/branch_3x/solr/src/test/test-files/solr/conf/solrconfig-propinject.xml?view=log
>>
>> Lance's example is
>>
>> <mergePolicy>org.apache.lucene.index.LogByteSizeMergePolicy
>>    <maxMergeMB>1024</maxMergeMB>
>> </mergePolicy>
>>
>> Which one is correct?
>>
>> Tom
>>
>> -----Original Message-----
>> From: Jason Rutherglen [mailto:jason.rutherglen@gmail.com]
>> Sent: Tuesday, December 07, 2010 10:48 AM
>> To: dev@lucene.apache.org
>> Subject: Re: Is it possible to set the merge policy setMaxMergeMB from Solr
>>
>> SOLR-1447 added this functionality.
>>
>> On Mon, Dec 6, 2010 at 2:34 PM, Burton-West, Tom <tburtonw@umich.edu> wrote:
>>> Lucene has this method to set the maximum size of a segment when merging:
>>> LogByteSizeMergePolicy.setMaxMergeMB
>>> (http://lucene.apache.org/java/3_0_2/api/all/org/apache/lucene/index/LogByteSizeMergePolicy.html#setMaxMergeMB%28double%29
>>> )
>>>
>>> I would like to be able to set this in my solrconfig.xml.  Is this
>>> possible?  If not should I open a JIRA issue or is there some gotcha I am
>>> unaware of?
>>>
>>> Tom
>>>
>>> Tom Burton-West
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
>> For additional commands, e-mail: dev-help@lucene.apache.org
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
>> For additional commands, e-mail: dev-help@lucene.apache.org
>>
>>
>

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


Mime
View raw message