|
|
@@ -10,6 +10,7 @@ package org.elasticsearch.index;
|
|
|
|
|
|
import org.apache.lucene.util.Version;
|
|
|
import org.elasticsearch.core.Assertions;
|
|
|
+import org.elasticsearch.core.UpdateForV9;
|
|
|
|
|
|
import java.lang.reflect.Field;
|
|
|
import java.util.Collection;
|
|
|
@@ -44,6 +45,7 @@ public class IndexVersions {
|
|
|
return new IndexVersion(id, luceneVersion);
|
|
|
}
|
|
|
|
|
|
+ @UpdateForV9 // remove the index versions with which v9 will not need to interact
|
|
|
public static final IndexVersion ZERO = def(0, Version.LATEST);
|
|
|
public static final IndexVersion V_7_0_0 = def(7_00_00_99, Version.LUCENE_8_0_0);
|
|
|
|