小编Hen*_*min的帖子

如何修复Elasticsearch中的读取超时

我使用Elasticsearch-1.1.0来索引推文.索引过程没问题.然后我升级了版本.现在我使用Elasticsearch-1.3.2,我随机收到这条消息:

Exception happened: Error raised when there was an exception while talking to ES.
ConnectionError(HTTPConnectionPool(host='127.0.0.1', port=8001): Read timed out. (read timeout=10)) caused by: ReadTimeoutError(HTTPConnectionPool(host='127.0.0.1', port=8001): Read timed out. (read timeout=10)).
Run Code Online (Sandbox Code Playgroud)

随机快照:

Happened --33s-- Happened --27s-- Happened --22s-- Happened --10s-- Happened --39s-- Happened --25s-- Happened --36s-- Happened --38s-- Happened --19s-- Happened --09s-- Happened --33s-- Happened --16s-- Happened 

--XXs-- = after XX seconds
Run Code Online (Sandbox Code Playgroud)

有人可以指出如何解决Read timed out问题吗?

非常感谢你.

timeout timeoutexception connection-timeout executiontimeout elasticsearch

29
推荐指数
4
解决办法
5万
查看次数