Apache Lucene open-source search software
SOLR-10011: Fix exception log message
Ishan Chattopadhyaya0f7990b2c859
diff --git a/solr/core/src/java/org/apache/solr/schema/NumericFieldType.java b/solr/core/src/java/org/apache/solr/schema/NumericFieldType.javaindex 404693d760e..2d5412f04f2 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");}}