I got this error: curl: (7) Failed to connect to localhost port 9200: Connection refused when i typed curl 'localhost:9200/_cat/indices?v'. I setup elasticsearch 1.7 and after that i edited file elasticsearch.yum:
I would like to list all indexes present on an ElasticSearch server. I tried this:
curl -XGET localhost:9200/
but it just gives me this:
{
"ok" : true,
"status" : 200,
"name" : "El Aguila",
"version" : {
"number" : "0.19.3",
"snapshot_build" : false
},
"tagline" : "You Know, for Search"
}
…
I am new to Elasticearch, and I have been trying for 2 days to insert some data into Elasticearch.
I found on Google that there are many pages to help to create an index (I am not clear about "index", does …
I used to have ElasticSearch 5.2, and just upgraded to 6.0.
I am trying to create an index template following guide here, but got error
Content-Type header [application/x-www-form-urlencoded] is not supported
My query is
curl -X PUT localhost:9200/_template/template_1 -d …