mirror of https://github.com/apache/lucene.git
SOLR-8593: Fix precommit
This commit is contained in:
parent
12229b2ca0
commit
dcf41b9a8e
|
@ -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(),
|
||||||
|
|
Loading…
Reference in New Issue