My mistake. You're so right- it should be 64.0 as a first try, not 1024. On Fri, Dec 17, 2010 at 7:44 PM, Jason Rutherglen <[email protected]> wrote: > 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 > <[email protected]> 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 <[email protected]> >> 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:[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] >>> >>> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
-- Lance Norskog [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
