SOLR-4894: fix error message

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1503275 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Steven Rowe 2013-07-15 14:45:37 +00:00
parent e5fc7da2a2
commit 3c43636281
1 changed files with 1 additions and 1 deletions

View File

@ -212,7 +212,7 @@ public class AddSchemaFieldsUpdateProcessorFactory extends UpdateRequestProcesso
} }
if (null != typeMappingNamedList.get(FIELD_TYPE_PARAM)) { if (null != typeMappingNamedList.get(FIELD_TYPE_PARAM)) {
throw new SolrException(SERVER_ERROR, throw new SolrException(SERVER_ERROR,
"Each '" + TYPE_MAPPING_PARAM + "' <lst/> must contain a '" + FIELD_TYPE_PARAM + "' <str>"); "Each '" + TYPE_MAPPING_PARAM + "' <lst/> may contain only one '" + FIELD_TYPE_PARAM + "' <str>");
} }
String fieldType = fieldTypeObj.toString(); String fieldType = fieldTypeObj.toString();