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:[email protected]] 
Sent: Tuesday, December 07, 2010 10:48 AM
To: [email protected]
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 <[email protected]> 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: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to