Question

error elasticsearch get information "503"

hello I’m a mistake to make any request in elasticserach , someone knows something about it, not anything … Meet

curl http://localhost:9200/vacants_production/_search?pretty -d ‘{“query”:{“match_all”:{}},“size”:1000,“from”:0,“fields”:[]}’ Elasticsearch::Transport::Transport::Errors::ServiceUnavailable: [503] {“error”:“SearchPhaseExecutionException[Failed to execute phase [query_fetch], all shards failed]”,“status”:503}

{ “status” : 200, “name” : “projetocurriculo”, “cluster_name” : “elasticsearch”, “version” : { “number” : “1.7.2”, “build_hash” : “e43676b1385b8125d647f593f7202acbd816e8ec”, “build_timestamp” : “2015-09-14T09:49:53Z”, “build_snapshot” : false, “lucene_version” : “4.10.4” }, “tagline” : “You Know, for Search” }

{ “cluster_name” : “elasticsearch”, “status” : “red”, “timed_out” : false, “number_of_nodes” : 1, “number_of_data_nodes” : 0, “active_primary_shards” : 0, “active_shards” : 0, “relocating_shards” : 0, “initializing_shards” : 0, “unassigned_shards” : 4, “delayed_unassigned_shards” : 0, “number_of_pending_tasks” : 0, “number_of_in_flight_fetch” : 0 }

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

already tried but did not work out, I’m desperate: /

Hi there!

Uncertain if this will assist you in resolving this 503 error within Elastic Search, however: http://stackoverflow.com/questions/18588927/elasticsearch-503-error-when-checking-server-status.