2016-04-03 10:09:24 -04:00
|
|
|
==== Checking that Elasticsearch is running
|
|
|
|
|
|
|
|
You can test that your Elasticsearch node is running by sending an HTTP
|
2016-04-04 09:01:03 -04:00
|
|
|
request to port `9200` on `127.0.0.1`:
|
2016-04-03 10:09:24 -04:00
|
|
|
|
|
|
|
[source,sh]
|
|
|
|
--------------------------------------------
|
2016-04-04 09:01:03 -04:00
|
|
|
curl 127.0.0.1:9200
|
2016-04-03 10:09:24 -04:00
|
|
|
--------------------------------------------
|
|
|
|
|
|
|
|
which should give you a response something like this:
|
|
|
|
|
|
|
|
[source,js]
|
|
|
|
--------------------------------------------
|
|
|
|
{
|
|
|
|
"name" : "Harry Leland",
|
|
|
|
"cluster_name" : "elasticsearch",
|
|
|
|
"version" : {
|
|
|
|
"number" : "5.0.0-alpha1",
|
|
|
|
"build_hash" : "f27399d",
|
|
|
|
"build_date" : "2016-03-30T09:51:41.449Z",
|
|
|
|
"build_snapshot" : false,
|
|
|
|
"lucene_version" : "6.0.0"
|
|
|
|
},
|
|
|
|
"tagline" : "You Know, for Search"
|
|
|
|
}
|
|
|
|
--------------------------------------------
|
|
|
|
|