Skip to content

停用词配置问题 #246

@tangwang

Description

@tangwang

我在 ./elasticsearch-analysis-ansj/ansj.cfg.yml 中添加了:
stop: file:///etc/elasticsearch/stopwords.txt
然后重启es了,为什么没用?

GET /_cat/ansj?text=狗狗的系列-哈士奇犬&type=index_ansj

分词结果还是有停用词

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions