Skip to content

Latest commit

 

History

History
40 lines (34 loc) · 1.27 KB

ES_SETUP.md

File metadata and controls

40 lines (34 loc) · 1.27 KB

Install and start a local instance of elasticsearch

Download tar.gz ES package, 5 or higher.

Save into your favorite location for downloading files, the file format should be something like: elasticsearch-5.x.x.tar.gz

Install ES

    a) > cd to your favorite location where you downloaded ES elasticsearch-5.x.x.tar.gz
    b) > tar -xvf elasticsearch-5.x.x.tar.gz

Start your local ES

    a) > cd elasticsearch-5.x.x/
    b) elasticsearch-5.x.x> ./bin/elasticsearch
    c) Check that ES is running - check http:://localhost:9200/ in a web browser
	    Output should look something like the following:
		{
			"name" : "eOuYijl",
			"cluster_name" : "elasticsearch",
			"cluster_uuid" : "UhmuYCDXTDWTNS-aBrSixQ",
			"version" : {
				"number" : "5.2.1",
				"build_hash" : "db0d481",
				"build_date" : "2017-02-09T22:05:32.386Z",
				"build_snapshot" : false,
				"lucene_version" : "6.4.1"
			},
			"tagline" : "You Know, for Search"
		}
    d) Watch the ES console for errors 
    e) Hit CTRL-C to stop the running server.

Runnig the Indexer

In order to get data into this Local elasticsearch instance you will need to run the indexer: See running the indexer for more info.