Organizational Research By

Surprising Reserch Topic

Experts Most Trusted Topic


Installing and running ElasticSearch


Installing and running ElasticSearch

For the purposes of this tutorial, I'll assume you're on a Linux or Mac environment.

You should also have JDK 6 or above installed.

wget https://github.com/downloads/elasticsearch/elasticsearch/elasticsearch-0.19.0.tar.gz
tar -zxvf elasticsearch-0.19.0.tar.gz
cd elasticsearch-0.19.0.tar.gz
bin/elasticsearch -f
You should see something like this in the terminal.

[2012-03-03 12:36:15,327][INFO ][node] [Ultra-Marine] {0.19.0}[9097]: initializing ...
[2012-03-03 12:36:15,337][INFO ][plugins] [Ultra-Marine] loaded [], sites []
...
[2012-03-03 12:36:20,509][INFO ][http] [Ultra-Marine] bound_address {inet[/0:0:0:0:0:0:0:0:9200]}, publish_address {inet[/172.16.174.1:9200]}
[2012-03-03 12:36:20,509][INFO ][node] [Ultra-Marine] {0.19.0}[9097]: started
[2012-03-03 12:36:20,511][INFO ][gateway] [Ultra-Marine] recovered [0] indices into cluster_state
ElasticSearch is now running! You can access it at http://localhost:9200 on your web browser, which returns this:

{
  "ok" : true,
  "status" : 200,
  "name" : "Ultra-Marine",
  "version" : {
    "number" : "0.19.0",
    "snapshot_build" : false
  },
  "tagline" : "You Know, for Search"
}


asked Apr 19, 2015 in Elasticsearch-php by rajesh
0 votes
26 views



Related Hot Questions



Government Jobs Opening


...