parseLeniently

Parse the given version number as a constant or dot based version.

This method allows to use "LUCENE_X_Y" constant names, or version numbers in the format "x.y.z".