mirror of https://github.com/apache/lucene.git
LUCENE-5820: license exception + javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1625197 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9ab9e98843
commit
deeb456560
|
@ -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"/>
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue