We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
比如,通过更新Synonyms.txt文件来配置同义词
The text was updated successfully, but these errors were encountered:
没有人回复你呀。我自己通过各种尝试,已经实现了集成同义词,配置如下:
{ "settings": { "analysis": { "filter": { "my_synonym_filter": { "type": "synonym", "synonyms_path" : "analysis/synonym.txt" } }, "analyzer": { "my_synonyms": { "tokenizer":"whitespace", "filter": [ "jieba", "my_synonym_filter" ] } } } }, "mappings" : { "test" : { "_all" : { "enabled" : false }, "properties" : { "name" : { "type" : "string", "analyzer" : "jieba_index" } } } } }
Sorry, something went wrong.
Synonym.txt有啥格式要求不
Synonym.txt有啥格式要求不 跨时空回复,这个有格式要求 例如Audi和奥迪,放在下面得 audi、奥迪
audi、奥迪
No branches or pull requests
比如,通过更新Synonyms.txt文件来配置同义词
The text was updated successfully, but these errors were encountered: