Elasticsearch is based on open source Apache Lucene ™ search engine. Whether in the field of open source or proprietary, Lucene can be considered to be by far the most advanced, highest performance, most versatile search engine library.
1. Install ElasticSearch
Prerequisites must be installed on the computer jdk1.8
download
Download: https://www.elastic.co/cn/downloads/elasticsearch
select the version: according to their own system
installation
Unzip the package will be downloaded to the installation directory
elasticsearch.yml editing config files in the directory
add the following code
http.cors.enabled: true
http.cors.allow-origin: "*"
start up
Click the bin directory elasticsearch.bat
start elasticsearch
In the Server Address http: localhost: 9200 to see the result of initiating
a successful start
2. Installation ElasticSearch-head plug
download
Download: https://github.com/mobz/elasticsearch-head
installation
The downloaded archive into the installation directory
open cmd run npm install install command in the extracted directory
and then run npm run start
to open on the page http: localhost: 9100 you can see the cluster information ElasticSearch