Apache Solr open-source search software
SOLR-4279: Wrong exception message if _version_ field is multivalued
Shalin Shekhar Mangarc44609866545
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txtindex b6c34a611ad..002521d44bf 100644--- a/solr/CHANGES.txt+++ b/solr/CHANGES.txt@@ -485,6 +485,8 @@ Bug Fixesin admin UI / AnalysisRequestHandler when you enter no number to tokenize.(Uwe Schindler)+* SOLR-4279: Wrong exception message if _version_ field is multivalued (shalin)+Other Changes----------------------diff --git a/solr/core/src/java/org/apache/solr/update/VersionInfo.java b/solr/core/src/java/org/apache/solr/update/VersionInfo.javaindex 8af574148ef..7859bdadba1 100644--- a/solr/core/src/java/org/apache/solr/update/VersionInfo.java+++ b/solr/core/src/java/org/apache/solr/update/VersionInfo.java@@ -71,7 +71,7 @@ public class VersionInfo {if ( sf.multiValued() ) {throw new SolrException(SolrException.ErrorCode.SERVER_ERROR,- errPrefix + " (" + VERSION_FIELD + " is not multiValued");+ errPrefix + " (" + VERSION_FIELD + " is multiValued");}return sf;