fem*_*gon 40

设置StandardAnalyzer和EnglishAnalyzer来自的默认停用词是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"
Run Code Online (Sandbox Code Playgroud)

StopFilter 本身没有定义一组默认的停用词.

  • 该列表可以在当前的Elasticsearch:The Definitive Guide中找到,[停用词:性能与精度](https://www.elastic.co/guide/en/elasticsearch/guide/current/stopwords.html) (3认同)
  • 实际来源链接:http://alvinalexander.com/java/jwarehouse/lucene/src/java/org/apache/lucene/analysis/StopAnalyzer.java.shtml (2认同)