lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbern...@apache.org
Subject [49/50] lucene-solr:master: SOLR-8593: Fix precommit
Date Wed, 15 Feb 2017 20:48:01 GMT
SOLR-8593: Fix precommit


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/dcf41b9a
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/dcf41b9a
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/dcf41b9a

Branch: refs/heads/master
Commit: dcf41b9a8e3334fe0038f5b7a3be4549a03c72ce
Parents: 12229b2
Author: Joel Bernstein <jbernste@apache.org>
Authored: Wed Feb 15 14:34:59 2017 -0500
Committer: Joel Bernstein <jbernste@apache.org>
Committed: Wed Feb 15 14:34:59 2017 -0500

----------------------------------------------------------------------
 solr/core/src/java/org/apache/solr/handler/sql/SolrAggregate.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/dcf41b9a/solr/core/src/java/org/apache/solr/handler/sql/SolrAggregate.java
----------------------------------------------------------------------
diff --git a/solr/core/src/java/org/apache/solr/handler/sql/SolrAggregate.java b/solr/core/src/java/org/apache/solr/handler/sql/SolrAggregate.java
index 983ab76..8c4d46d 100644
--- a/solr/core/src/java/org/apache/solr/handler/sql/SolrAggregate.java
+++ b/solr/core/src/java/org/apache/solr/handler/sql/SolrAggregate.java
@@ -73,7 +73,7 @@ class SolrAggregate extends Aggregate implements SolrRel {
       AggregateCall aggCall = namedAggCall.getKey();
 
       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());
       if(aggCall.getName() == null) {
         implementor.addFieldMapping(namedAggCall.getValue(),


Mime
View raw message