Fixed grammar in index-too-old exception (#18327)
This commit is contained in:
parent
61b1f4ad0b
commit
f2797dbccb
|
@ -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.");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue