Es1:windows under Installation Elasticsearch

Source: Internet
Author: User
Tags elasticsearch tutorial java se

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.