add javadocs to the two versions in Constants since its confusing what is what

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1348268 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Muir 2012-06-08 22:45:04 +00:00
parent 75092c24ad
commit 6f57c2d07d
1 changed files with 6 additions and 0 deletions

View File

@ -104,8 +104,14 @@ public final class Constants {
// NOTE: we track per-segment version as a String with the "X.Y" format, e.g.
// "4.0", "3.1", "3.0". Therefore when we change this constant, we should keep
// the format.
/**
* This is the internal Lucene version, recorded into each segment.
*/
public static final String LUCENE_MAIN_VERSION = ident("5.0");
/**
* This is the Lucene version for display purposes.
*/
public static final String LUCENE_VERSION;
static {
Package pkg = LucenePackage.get();