lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Drob <md...@apache.org>
Subject Solr Config MergePolicy/MergeScheduler Naming Bug?
Date Tue, 30 Jun 2015 19:33:30 GMT
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

Mime
View raw message