LUCENE-1349: Mark Fieldable as changeable

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@682689 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Grant Ingersoll 2008-08-05 12:27:42 +00:00
parent 82c1724efb
commit 316cfd14df
2 changed files with 15 additions and 2 deletions

View File

@ -1,6 +1,13 @@
Lucene Change Log
$Id$
NOTE: In a minor change to Lucene's backward compatibility policy, we are now allowing the Fieldable interface to have
changes, within reason, and made on a case-by-case basis. If an application implements it's own Fieldable, please be aware
of this. Otherwise, no need to be concerned. For more details see https://issues.apache.org/jira/browse/LUCENE-1349.
This is in effect for all 2.X releases, starting with 2.4. Also note, that in all likelihood, Fieldable will be changed
in 3.0.
======================= Trunk (not yet released) =======================
Changes in runtime behavior

View File

@ -16,14 +16,20 @@ package org.apache.lucene.document;
* limitations under the License.
*/
import org.apache.lucene.analysis.TokenStream;
import java.io.Reader;
import java.io.Serializable;
import org.apache.lucene.analysis.TokenStream;
/**
* Synonymous with {@link Field}.
*
* <p><bold>WARNING</bold>: This interface may change within minor versions, despite Lucene's backward compatibility requirements.
* This means new methods may be added from version to version. This change only affects the Fieldable API; other backwards
* compatibility promises remain intact. For example, Lucene can still
* read and write indices created within the same major version.
* </p>
*
**/
public interface Fieldable extends Serializable {
/** Sets the boost factor hits on this field. This value will be