You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Mike Drob <md...@apache.org> on 2015/06/30 21:33:30 UTC

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