Lucene有一个默认的stopfilter( http://lucene.apache.org/core/4_0_0/analyzers-common/org/apache/lucene/analysis/core/StopFilter.html ),有没有人知道这是列表中的单词?
StandardAnalyzer
和StopAnalyzer.ENGLISH_STOP_WORDS_SET
设置的默认停用词来自StopAnalyzer.ENGLISH_STOP_WORDS_SET
,它们是:
"a", "an", "and", "are", "as", "at", "be", "but", "by", "for", "if", "in", "into", "is", "it", "no", "not", "of", "on", "or", "such", "that", "the", "their", "then", "there", "these", "they", "this", "to", "was", "will", "with"
StopFilter
本身没有定义停用词的默认设置。