Apache Solr open-source search software
LUCENE-5468: fix precommit+test
Robert Muir66ccdead470c
diff --git a/lucene/CHANGES.txt b/lucene/CHANGES.txtindex ebe7bb12a8a..5b9245fcaf1 100644--- a/lucene/CHANGES.txt+++ b/lucene/CHANGES.txt@@ -82,6 +82,12 @@ API Changes* LUCENE-5454: Add RandomAccessOrds, an optional extension of SortedSetDocValuesthat supports random access to the ordinals in a document. (Robert Muir)+Optimizations++* LUCENE-5468: HunspellStemFilter uses 10 to 100x less RAM. It also loads+ all known openoffice dictionaries without error, and supports an additional+ longestOnly option for a less aggressive approach. (Robert Muir)+Bug fixes* LUCENE-5450: Fix getField() NPE issues with SpanOr/SpanNear when they have andiff --git a/lucene/analysis/common/src/test/org/apache/lucene/analysis/hunspell/TestHunspellStemFilterFactory.java b/lucene/analysis/common/src/test/org/apache/lucene/analysis/hunspell/TestHunspellStemFilterFactory.javaindex f4302035dbc..b671f6dbdbf 100644--- a/lucene/analysis/common/src/test/org/apache/lucene/analysis/hunspell/TestHunspellStemFilterFactory.java+++ b/lucene/analysis/common/src/test/org/apache/lucene/analysis/hunspell/TestHunspellStemFilterFactory.java@@ -30,7 +30,7 @@ public class TestHunspellStemFilterFactory extends BaseTokenStreamFactoryTestCaspublic void testStemming() throws Exception {Reader reader = new StringReader("abc");TokenStream stream = whitespaceMockTokenizer(reader);- stream = tokenFilterFactory("Hunspell2Stem",+ stream = tokenFilterFactory("HunspellStem","dictionary", "simple.dic","affix", "simple.aff").create(stream);assertTokenStreamContents(stream, new String[] { "ab" });@@ -39,7 +39,7 @@ public class TestHunspellStemFilterFactory extends BaseTokenStreamFactoryTestCas/** Test that bogus arguments result in exception */public void testBogusArguments() throws Exception {try {- tokenFilterFactory("Hunspell2Stem",+ tokenFilterFactory("HunspellStem","dictionary", "simple.dic","bogusArg", "bogusValue");fail();