Installation and configuration
ElasticSearch needs a recent version of Oracle JVM, i.e., JDK 1.7U55, or higher. For more details, refer to https://www.elastic.co/support/ matrix#show_jvm.
ElasticSearch can be downloaded from https://www.elastic.co/downloads/ elasticsearch. It comes in a variety of formats—Zip, tar, DEB and RPM. DEB and RPM are packages for Linux based systems. We will go with the Zip format. Download the Zip file and extract it.
In the extracted folder, locate the config folder and open elasticsearch. yml in editing mode. In Linux based systems, simply right click and open the file using Gedit or a similar editor. On Windows, use Notepad or some other text editor.
In the elasticsearch.yml set some basic information: Find the line cluster.name: myapplication. Remove the # sign so as to uncomment the line. Replace file, let us