Skip to content

Apache Lucene open-source search software

LUCENE-3969: Test all ctors in TestRandomChains and fix bugs discovered by the test

Robert Muir16f5be0efb29
diff --cc modules/analysis/CHANGES.txt
index 9659f91e064,9659f91e064..1dea3f586df
--- a/modules/analysis/CHANGES.txt
+++ b/modules/analysis/CHANGES.txt
@@@ -42,6 -42,6 +42,16 @@@ Bug fixe
* LUCENE-3820: PatternReplaceCharFilter could return invalid token positions.
(Dawid Weiss)
++ * LUCENE-3969: Throw IAE on bad arguments that could cause confusing errors in
++ CompoundWordTokenFilterBase, PatternTokenizer, PositionFilter,
++ SnowballFilter, PathHierarchyTokenizer, ReversePathHierarchyTokenizer,
++ WikipediaTokenizer, and KeywordTokenizer. ShingleFilter and
++ CommonGramsFilter now populate PositionLengthAttribute. Fixed
++ PathHierarchyTokenizer to reset() all state. Protect against AIOOBE in
++ ReversePathHierarchyTokenizer if skip is large. Fixed wrong final
++ offset calculation in PathHierarchyTokenizer.
++ (Mike McCandless, Uwe Schindler, Robert Muir)
++
New Features
* LUCENE-2341: A new analyzer/ filter: Morfologik - a dictionary-driven lemmatizer
@@@ -108,4 -108,4 +118,4 @@@
(Chris Male, Robert Muir)
* SOLR-2764: Create a NorwegianLightStemmer and NorwegianMinimalStemmer (janhoy)
--
++