Skip to content

Apache Lucene open-source search software

LUCENE-5235: Add more information to backwards break changes section.

Uwe Schindler49adf29d1790
diff --git a/lucene/CHANGES.txt b/lucene/CHANGES.txt
index 611b80b4db0..61fe78a002a 100644
--- a/lucene/CHANGES.txt
+++ b/lucene/CHANGES.txt
@@ -103,7 +103,10 @@ Changes in backwards compatibility policy
* LUCENE-5235: Sub classes of Tokenizer have to call super.reset()
when implementing reset(). Otherwise the consumer will get an
IllegalStateException because the Reader is not correctly assigned.
- (Uwe Schindler, Robert Muir)
+ It is important to never change the "input" field on Tokenizer
+ without using setReader(). The "input" field must not be used
+ outside reset(), incrementToken(), or end() - especially not in
+ the constructor. (Uwe Schindler, Robert Muir)
* LUCENE-5204: Directory doesn't have default implementations for
LockFactory-related methods, which have been moved to BaseDirectory. If you