You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by rm...@apache.org on 2012/06/09 00:45:04 UTC
svn commit: r1348268 -
/lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/util/Constants.java
Author: rmuir
Date: Fri Jun 8 22:45:04 2012
New Revision: 1348268
URL: http://svn.apache.org/viewvc?rev=1348268&view=rev
Log:
add javadocs to the two versions in Constants since its confusing what is what
Modified:
lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/util/Constants.java
Modified: lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/util/Constants.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/util/Constants.java?rev=1348268&r1=1348267&r2=1348268&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/util/Constants.java (original)
+++ lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/util/Constants.java Fri Jun 8 22:45:04 2012
@@ -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();