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

Gzip或chunked无法正确更新远程扩展词 #689

Open
wangguanquan opened this issue Jun 17, 2019 · 2 comments
Open

Gzip或chunked无法正确更新远程扩展词 #689

wangguanquan opened this issue Jun 17, 2019 · 2 comments

Comments

@wangguanquan
Copy link

远程更新词库时,如果遇上Gzip或chunked将无法获取到数据,原因是Content-Length将忽略不会被设置,从Response#getContentLength将返回-1,而获取数据的时候对ContentLength进行长度大于0判断导致。

wangguanquan pushed a commit to wangguanquan/elasticsearch-analysis-ik that referenced this issue Jun 17, 2019
wangguanquan referenced this issue in wangguanquan/elasticsearch-analysis-ik Jun 19, 2019
@ujhalf
Copy link

ujhalf commented Jan 20, 2020

问题 看明白了
我用的7.1.1版本 发现在header中有 transfer-Ecoding=chunked 导致ES没有读取到词典。
我该怎么做呢接下来?
问题是如何 快速的 由elasticsearch-analysis-ik-7.1.1.jar 得到更新后的elasticsearch-analysis-ik-7.1.1.jar
难道我需要一个一个class 复杂代码 建立对应的java文件 再重新打包吗?

@wenlincheng
Copy link

Fix v7.6.0 #689

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

3 participants