mirror of https://github.com/apache/lucene.git
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:
parent
08f690ef16
commit
876573650b
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue