How to Fix Read timed out in Elasticsearch

后端 未结 7 1394
执念已碎
执念已碎 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:17

    Just in case someone else has tried everything here and nothing has worked...

    Slipt the problem in two, check if the Elasticsearch it is really ok, try running any of the commands below on the command line:

    curl localhost:9200/_cat/indices
    curl -XGET 'http://localhost:9200/_cluster/state?pretty'
    

    In case they didn't work (so, nothing to do with Python), check the /etc/elasticsearch.yaml (config at Ubuntu, packaged, in this case). probably the file is badly configured (I had it because of old experiments). Try to comment out everything and check the commands again, then if it worked, so come back to Python.

提交回复
热议问题