Concur, that looks like a copy/paste bug. The JIRA(s) associated with the 
commit are no longer open, so a new JIRA with the one-line patch would seem the 
next logical step. This appears to affect trunk but not branch_5x or branch_4x. 
Well spotted!

From: [email protected] At: Jun 30 2015 20:34:48
To: [email protected]
Subject: Re:Solr Config MergePolicy/MergeScheduler Naming Bug?

I was looking through code for unrelated reasons and this line stuck out to me:

https://github.com/apache/lucene-solr/blob/trunk/solr/core/src/java/org/apache/solr/update/SolrIndexConfig.java#L180

if(mergeSchedulerInfo != null) 
m.put("mergeScheduler",mergeSchedulerInfo.toMap());                             
       if(mergePolicyInfo != null) 
m.put("mergeScheduler",mergePolicyInfo.toMap());

Are they both supposed to be using the "mergeScheduler" key? If not, happy to 
open a JIRA and provide the one-line patch.

Mike

Reply via email to