Add Version [5.0.0.beta1]
This commit is contained in:
parent
5739a7c9fe
commit
e41ae25b1e
|
@ -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 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 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 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 {
|
static {
|
||||||
assert CURRENT.luceneVersion.equals(org.apache.lucene.util.Version.LATEST) : "Version must be upgraded to ["
|
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) {
|
public static Version fromId(int id) {
|
||||||
switch (id) {
|
switch (id) {
|
||||||
|
case V_5_0_0_beta1_ID:
|
||||||
|
return V_5_0_0_beta1;
|
||||||
case V_5_0_0_alpha6_ID:
|
case V_5_0_0_alpha6_ID:
|
||||||
return V_5_0_0_alpha6;
|
return V_5_0_0_alpha6;
|
||||||
case V_5_0_0_alpha5_ID:
|
case V_5_0_0_alpha5_ID:
|
||||||
|
|
Loading…
Reference in New Issue