ElasticSearch (es) is a lucene-based distributed full-text Search server, this essay demonstrates the head plug-in for Windows installation ElasticSearch and for managing es.
Elasticsearch Official website: http://www.elasticsearch.org
One, install the Java SE Environment
Download the Java SE Development package from Java SE download,
Second, install Elasticsearch
1, download Elasticsearch 2.4.4 version
From the official Download Center ElasticSearch Download Download ElasticSearch installation package, when the landlord, the latest version of ES is 5.1.2, this article uses the old version of 2.4.4, open past releases Select the past version of the installation, Download the zip file format. The landlord chose to install the 2.4.4 version because the 5.1.2 version does not support the head plugin.
2, open Elasticsearch Service
Unzip the zip file to the C drive, enter the C:\elasticsearch-2.4.4\bin directory, double-click Execute elasticsearch.bat, the script file executes the Elasticsearch installer, Wait a moment, open the browser, enter http://localhost:9200 , explicit the following screen, indicating the success of ES installation.
Third, install head plug-in
1. Install the plugin on the command line
Press and hold Windows+r, enter cmd, open command line tool, go to Elasticsearch bin directory, install plugin using ES command
CD C:\elasticsearch-2.4.4\binplugin-install mobz/elasticsearch-head
2, through the Web management Elasticsearch
Enter http://localhost:9200/_plugin/head/in the local browser, if you see the following, the head plug-in installation is successful.
Four, recommended reading books
Recommended books: "Elasticsearch Server Development (2nd edition)", the book uses the Curl tool called ES API, in fact, using the head plug-in, in the Any Request tab, can easily construct the API to send requests to the ES server URL, To achieve the same functionality:
For example: Use the Curl tool to send commands to the ES server to get the health status of the cluster:
Curl-xget Http://127.0.0.1:9200/_cluster/health?pretty
Using the head plugin, send a request to the ES server to get the health status of the cluster:
Reference Documentation:
Elasticsearch Cluster management tools head Plugin
ElasticSearch Simple Introduction
Elasticsearch Tutorial (i), full stream (small white level)
Elasticsearch Tutorial (i)--Introduction and installation
Distributed Search Elasticsearch Cluster management tool head
Es1:windows under Installation Elasticsearch