mirror of https://github.com/apache/lucene.git
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:
parent
e5fc7da2a2
commit
3c43636281
|
@ -212,7 +212,7 @@ public class AddSchemaFieldsUpdateProcessorFactory extends UpdateRequestProcesso
|
|||
}
|
||||
if (null != typeMappingNamedList.get(FIELD_TYPE_PARAM)) {
|
||||
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();
|
||||
|
||||
|
|
Loading…
Reference in New Issue