SOLR-10011: Fix exception log message

This commit is contained in:
Ishan Chattopadhyaya 2017-01-22 04:52:01 +05:30
parent 285a1013ad
commit 0f7990b2c8
1 changed files with 1 additions and 1 deletions

View File

@ -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");
}
}