【发布时间】:2013-07-28 10:44:39
【问题描述】:
我是 Elasticsearch 的新手,正在尝试进行一些测试,但是在使用(对于这种情况下)法语分析器和停用词时遇到了问题。这是我设置的索引:
test1: {
state: open
settings: {
index.analysis.analyzer.french.tokenizer: standard
index.analysis.filter.stop_fr.stopwords.0: _french_
index.analysis.filter.stop_fr.type: stop
index.analysis.analyzer.french.filter.1: stop_fr
index.analysis.analyzer.french.filter.0: lowercase
index.analysis.analyzer.french.type: custom
index.number_of_shards: 5
index.number_of_replicas: 1
index.version.created: 900299
}
但是,当我从 ES Head 运行“测试分析器”工具时,法语停用词仍在通过,而英语停用词(the、a 等)则没有。任何见解将不胜感激。谢谢!
【问题讨论】: