From 03f6d7a649337fd72257497098a37583ba998f78 Mon Sep 17 00:00:00 2001 From: Robert Muir Date: Wed, 18 Nov 2009 16:06:06 +0000 Subject: [PATCH] LUCENE-2080: Improve Version javadocs git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@881819 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/lucene/util/Version.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/java/org/apache/lucene/util/Version.java b/src/java/org/apache/lucene/util/Version.java index f07b7903253..0a16c14928f 100644 --- a/src/java/org/apache/lucene/util/Version.java +++ b/src/java/org/apache/lucene/util/Version.java @@ -21,6 +21,11 @@ package org.apache.lucene.util; /** * Use by certain classes to match version compatibility * across releases of Lucene. + * + *

WARNING: 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 {