LUCENE-2080: Improve Version javadocs

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@881819 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Muir 2009-11-18 16:06:06 +00:00
parent ac2a7f5112
commit 03f6d7a649
1 changed files with 5 additions and 0 deletions

View File

@ -21,6 +21,11 @@ package org.apache.lucene.util;
/**
* 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 {