lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tflo...@apache.org
Subject [12/15] lucene-solr:branch_6x: SOLR-10011: Fix exception log message
Date Mon, 13 Feb 2017 21:18:32 GMT
SOLR-10011: Fix exception log message


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

Branch: refs/heads/branch_6x
Commit: 5a7cdd89756baed3a7d49d923fa9f66cb2baff98
Parents: 6a97952
Author: Ishan Chattopadhyaya <ishan@apache.org>
Authored: Sun Jan 22 04:52:01 2017 +0530
Committer: Tomas Fernandez Lobbe <tflobbe@apache.org>
Committed: Mon Feb 13 12:05:02 2017 -0800

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


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/5a7cdd89/solr/core/src/java/org/apache/solr/schema/NumericFieldType.java
----------------------------------------------------------------------
diff --git a/solr/core/src/java/org/apache/solr/schema/NumericFieldType.java b/solr/core/src/java/org/apache/solr/schema/NumericFieldType.java
index 404693d..2d5412f 100644
--- a/solr/core/src/java/org/apache/solr/schema/NumericFieldType.java
+++ b/solr/core/src/java/org/apache/solr/schema/NumericFieldType.java
@@ -79,7 +79,7 @@ public abstract class NumericFieldType extends PrimitiveFieldType {
               max == null ? null : DateMathParser.parseMath(null, max).getTime(),
               minInclusive, maxInclusive);
       default:
-        throw new SolrException(SolrException.ErrorCode.SERVER_ERROR, "Unknown type for point
field");
+        throw new SolrException(SolrException.ErrorCode.SERVER_ERROR, "Unknown type for numeric
field");
     }
   }
   


Mime
View raw message