Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.4.6这种老版本下,停用词表如何自定义? #177

Open
xljhtq opened this issue Nov 14, 2019 · 2 comments
Open

2.4.6这种老版本下,停用词表如何自定义? #177

xljhtq opened this issue Nov 14, 2019 · 2 comments

Comments

@xljhtq
Copy link

xljhtq commented Nov 14, 2019

博主,您好:
在以前版本下,elasticsearch中似乎没有加载停用词的地方,这个应该在哪里进行自定义呢?

@shi-yuan
Copy link
Member

@shi-yuan
Copy link
Member

首先在配置文件中定义停用词典的key和对应的path,然后自定义分词器的时候设置相对应的停用词典的key就行

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants