lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rm...@apache.org
Subject svn commit: r881819 - /lucene/java/trunk/src/java/org/apache/lucene/util/Version.java
Date Wed, 18 Nov 2009 16:06:06 GMT
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 {
 



Mime
View raw message