returns the minimum compatible version based on the current version . ie a node needs to have at least the return version in order to communicate with a node running the current version . the returned version is in most of the cases the smallest major version release unless the current version is a beta or rc release then the version itself is returned . concode_field_sep int V_2_0_0_rc1_ID concode_elem_sep Version V_2_0_0 concode_elem_sep Version V_2_0_0_rc1 concode_elem_sep byte minor concode_elem_sep int V_2_2_1_ID concode_elem_sep Version V_2_1_2 concode_elem_sep int V_2_3_1_ID concode_elem_sep int V_2_1_2_ID concode_elem_sep Version V_2_0_2 concode_elem_sep int V_2_2_2_ID concode_elem_sep int V_2_0_0_beta1_ID concode_elem_sep Version V_2_0_0_beta1 concode_elem_sep Version V_2_1_1 concode_elem_sep int V_5_0_0_alpha1_ID concode_elem_sep Version V_2_2_0 concode_elem_sep Version V_5_0_0_alpha4 concode_elem_sep byte major concode_elem_sep Version V_2_3_2 concode_elem_sep org.apache.lucene.util.Version luceneVersion concode_elem_sep int id concode_elem_sep int V_2_0_0_ID concode_elem_sep Version V_2_2_2 concode_elem_sep int V_5_0_0_alpha4_ID concode_elem_sep Version V_2_3_0 concode_elem_sep int V_2_1_0_ID concode_elem_sep int V_5_0_0_alpha2_ID concode_elem_sep Version V_2_0_0_beta2 concode_elem_sep int V_2_3_2_ID concode_elem_sep int V_2_0_0_beta2_ID concode_elem_sep Version V_2_0_1 concode_elem_sep Version V_2_1_0 concode_elem_sep int V_2_0_1_ID concode_elem_sep byte revision concode_elem_sep Version V_5_0_0_alpha1 concode_elem_sep int V_5_0_0_alpha3_ID concode_elem_sep int V_2_1_1_ID concode_elem_sep Version V_5_0_0_alpha3 concode_elem_sep Version V_5_0_0_alpha2 concode_elem_sep Version V_2_3_3 concode_elem_sep int V_2_2_0_ID concode_elem_sep int V_2_3_3_ID concode_elem_sep byte build concode_elem_sep int V_2_0_2_ID concode_elem_sep int V_2_3_0_ID concode_elem_sep Version CURRENT concode_elem_sep Version V_2_3_1 concode_elem_sep Version V_2_2_1 concode_field_sep Version readVersion concode_elem_sep boolean onOrBefore concode_elem_sep boolean before concode_elem_sep Version smallest concode_elem_sep boolean isAlpha concode_elem_sep void writeVersion concode_elem_sep void main concode_elem_sep boolean isRC concode_elem_sep Version fromId concode_elem_sep Version indexCreated concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep String toString concode_elem_sep boolean isBeta concode_elem_sep Version fromString concode_elem_sep boolean after concode_elem_sep boolean onOrAfter
Version function ( ) { return Version . smallest ( this , fromId ( major * 1000000 + 99 ) ) ; }