SOLR-8593: Fix precommit

This commit is contained in:
Joel Bernstein 2017-02-15 14:34:59 -05:00
parent 12229b2ca0
commit dcf41b9a8e
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ class SolrAggregate extends Aggregate implements SolrRel {
AggregateCall aggCall = namedAggCall.getKey(); AggregateCall aggCall = namedAggCall.getKey();
Pair<String, String> metric = toSolrMetric(implementor, aggCall, inNames); Pair<String, String> metric = toSolrMetric(implementor, aggCall, inNames);
implementor.addReverseAggMapping(namedAggCall.getValue(), metric.getKey().toLowerCase()+"("+metric.getValue()+")"); implementor.addReverseAggMapping(namedAggCall.getValue(), metric.getKey().toLowerCase(Locale.ROOT)+"("+metric.getValue()+")");
implementor.addMetricPair(namedAggCall.getValue(), metric.getKey(), metric.getValue()); implementor.addMetricPair(namedAggCall.getValue(), metric.getKey(), metric.getValue());
if(aggCall.getName() == null) { if(aggCall.getName() == null) {
implementor.addFieldMapping(namedAggCall.getValue(), implementor.addFieldMapping(namedAggCall.getValue(),