Add Version [5.0.0.beta1]

This commit is contained in:
Simon Willnauer 2016-09-08 12:41:52 +02:00
parent 5739a7c9fe
commit e41ae25b1e
1 changed files with 5 additions and 1 deletions

View File

@ -87,7 +87,9 @@ public class Version {
public static final Version V_5_0_0_alpha5 = new Version(V_5_0_0_alpha5_ID, org.apache.lucene.util.Version.LUCENE_6_1_0);
public static final int V_5_0_0_alpha6_ID = 5000006;
public static final Version V_5_0_0_alpha6 = new Version(V_5_0_0_alpha6_ID, org.apache.lucene.util.Version.LUCENE_6_2_0);
public static final Version CURRENT = V_5_0_0_alpha6;
public static final int V_5_0_0_beta1_ID = 5000026;
public static final Version V_5_0_0_beta1 = new Version(V_5_0_0_beta1_ID, org.apache.lucene.util.Version.LUCENE_6_2_0);
public static final Version CURRENT = V_5_0_0_beta1;
static {
assert CURRENT.luceneVersion.equals(org.apache.lucene.util.Version.LATEST) : "Version must be upgraded to ["
@ -100,6 +102,8 @@ public class Version {
public static Version fromId(int id) {
switch (id) {
case V_5_0_0_beta1_ID:
return V_5_0_0_beta1;
case V_5_0_0_alpha6_ID:
return V_5_0_0_alpha6;
case V_5_0_0_alpha5_ID: