Fixed grammar in index-too-old exception (#18327)

This commit is contained in:
Clinton Gormley 2016-05-13 15:08:15 +02:00
parent 61b1f4ad0b
commit f2797dbccb
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ public class MetaDataIndexUpgradeService extends AbstractComponent {
private void checkSupportedVersion(IndexMetaData indexMetaData) {
if (indexMetaData.getState() == IndexMetaData.State.OPEN && isSupportedVersion(indexMetaData) == false) {
throw new IllegalStateException("The index [" + indexMetaData.getIndex() + "] was created before v2.0.0.beta1 and wasn't upgraded."
+ " This index should be open using a version before " + Version.CURRENT.minimumCompatibilityVersion()
+ " This index should be opened using a version before " + Version.CURRENT.minimumCompatibilityVersion()
+ " and upgraded using the upgrade API.");
}
}