Apache Lucene open-source search software
LUCENE-5820: license exception + javadocs
Steven Rowedeeb4565607c
diff --git a/lucene/suggest/build.xml b/lucene/suggest/build.xmlindex 8ba3d25ed6e..d12597aae8b 100755--- a/lucene/suggest/build.xml+++ b/lucene/suggest/build.xml@@ -24,7 +24,7 @@</description><!-- just a list of words for testing suggesters -->- <property name="rat.excludes" value="**/Top50KWiki.utf8"/>+ <property name="rat.excludes" value="**/Top50KWiki.utf8,**/stop-snowball.txt"/><import file="../module-build.xml"/>diff --git a/lucene/suggest/src/java/org/apache/lucene/search/suggest/analyzing/SuggestStopFilterFactory.java b/lucene/suggest/src/java/org/apache/lucene/search/suggest/analyzing/SuggestStopFilterFactory.javaindex b54bd861826..03bdc7145a6 100644--- a/lucene/suggest/src/java/org/apache/lucene/search/suggest/analyzing/SuggestStopFilterFactory.java+++ b/lucene/suggest/src/java/org/apache/lucene/search/suggest/analyzing/SuggestStopFilterFactory.java@@ -73,7 +73,9 @@ import java.io.IOException;* </ul>*/public class SuggestStopFilterFactory extends TokenFilterFactory implements ResourceLoaderAware {+ /** the default format, one word per line, whole line comments start with "#" */public static final String FORMAT_WORDSET = "wordset";+ /** multiple words may be specified on each line, trailing comments start with "|" */public static final String FORMAT_SNOWBALL = "snowball";private CharArraySet stopWords;@@ -110,10 +112,12 @@ import java.io.IOException;}}+ /** Whether or not to ignore case */public boolean isIgnoreCase() {return ignoreCase;}+ /** Returns the configured stopword set */public CharArraySet getStopWords() {return stopWords;}