elasticsearch-analysis-dynamic-synonym 远程请求报错
Elasticsearch | 作者 platstar | 发布于2017年03月08日 | 阅读数:6729
我配置好elasticsearch-analysis-dynamic-synonym,本地端文件沒問題, 但是远程请求txt文件报错
elasticsearch 2.4.3
[2017-03-07 14:01:35,553][INFO ][node ] [node.9202.243] started [2017-03-07 14:01:36,553][INFO ][dynamic-synonym ] start reload remote synonym from http://192.168.57.15/xxx/synonym/getdata. [2017-03-07 14:01:36,569][ERROR][dynamic-synonym ] reload remote synonym http://192.168.57.15/xxx/synonym/getdata error! org.apache.http.ConnectionClosedException: Premature end of Content-Length delimited message body (expected: 229; received: 0 at org.apache.http.impl.io.ContentLengthInputStream.read(ContentLengthInputStream.java:142) at
也试过 synonyms_path: http://192.168.57.15/xxx.synonym.txt
结果一样报错,求解
elasticsearch 2.4.3
[2017-03-07 14:01:35,553][INFO ][node ] [node.9202.243] started [2017-03-07 14:01:36,553][INFO ][dynamic-synonym ] start reload remote synonym from http://192.168.57.15/xxx/synonym/getdata. [2017-03-07 14:01:36,569][ERROR][dynamic-synonym ] reload remote synonym http://192.168.57.15/xxx/synonym/getdata error! org.apache.http.ConnectionClosedException: Premature end of Content-Length delimited message body (expected: 229; received: 0 at org.apache.http.impl.io.ContentLengthInputStream.read(ContentLengthInputStream.java:142) at
也试过 synonyms_path: http://192.168.57.15/xxx.synonym.txt
结果一样报错,求解
2 个回复
platstar
赞同来自:
改用 https://github.com/hailin0/ela ... nonym 的版本就可以了
hailin0
赞同来自: