Apache Lucene open-source search software
add javadocs to the two versions in Constants since its confusing what is what
Robert Muir6f57c2d07d7c
diff --git a/lucene/core/src/java/org/apache/lucene/util/Constants.java b/lucene/core/src/java/org/apache/lucene/util/Constants.javaindex 559d82d2c5f..2a34e0bd890 100644--- a/lucene/core/src/java/org/apache/lucene/util/Constants.java+++ b/lucene/core/src/java/org/apache/lucene/util/Constants.java@@ -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();