How to Fix Read timed out in Elasticsearch

后端 未结 7 1393
执念已碎
执念已碎 2020-12-25 10:33

I used Elasticsearch-1.1.0 to index tweets. The indexing process is okay. Then I upgraded the version. Now I use Elasticsearch-1.3.2, and I get this message randomly:

<
7条回答
  •  梦谈多话
    2020-12-25 11:23

    For what it's worth, I found that this seems to be related to a broken index state.

    It's very difficult to reliably recreate this issue, but I've seen it several times; operations run as normal except certain ones which periodically seem to hang ES (specifically refreshing an index it seems).

    Deleting an index (curl -XDELETE http://localhost:9200/foo) and reindexing from scratch fixed this for me.

    I recommend periodically clearing and reindexing if you see this behaviour.

提交回复
热议问题