SOLR-5259: Fix typo in error message when _version_ field is missing

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1525620 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Shalin Shekhar Mangar 2013-09-23 15:14:10 +00:00
parent 08f690ef16
commit 876573650b
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ public class VersionInfo {
*/ */
public static SchemaField getAndCheckVersionField(IndexSchema schema) public static SchemaField getAndCheckVersionField(IndexSchema schema)
throws SolrException { throws SolrException {
final String errPrefix = VERSION_FIELD + "field must exist in schema, using indexed=\"true\" stored=\"true\" and multiValued=\"false\""; final String errPrefix = VERSION_FIELD + " field must exist in schema, using indexed=\"true\" stored=\"true\" and multiValued=\"false\"";
SchemaField sf = schema.getFieldOrNull(VERSION_FIELD); SchemaField sf = schema.getFieldOrNull(VERSION_FIELD);
if (null == sf) { if (null == sf) {