You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@lucene.apache.org by rm...@apache.org on 2009/11/18 17:06:06 UTC

svn commit: r881819 - /lucene/java/trunk/src/java/org/apache/lucene/util/Version.java

Author: rmuir
Date: Wed Nov 18 16:06:06 2009
New Revision: 881819

URL: http://svn.apache.org/viewvc?rev=881819&view=rev
Log:
LUCENE-2080: Improve Version javadocs

Modified:
    lucene/java/trunk/src/java/org/apache/lucene/util/Version.java

Modified: lucene/java/trunk/src/java/org/apache/lucene/util/Version.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/util/Version.java?rev=881819&r1=881818&r2=881819&view=diff
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/util/Version.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/util/Version.java Wed Nov 18 16:06:06 2009
@@ -21,6 +21,11 @@
 /**
  * Use by certain classes to match version compatibility
  * across releases of Lucene.
+ * 
+ * <p><b>WARNING</b>: When changing the version parameter
+ * that you supply to components in Lucene, do not simply
+ * change the version at search-time, but instead also adjust
+ * your indexing code to match, and re-index.
  */
 public enum Version {