Elasticsearch Installation in Window environment

Source: Internet
Author: User

Today, when learning Lucene, see the book that describes Elasticsearch,elasticsearch is a Lucene-based search server. It provides a distributed multi-user capability full-text search engine, based on the RESTful web interface, Elasticsearch is developed in Java. Now take a look at the steps I have to install Elasticsearch in a Windows environment.

The first step, first go to elasticsearch official website Download window Environment of the required files, Windows environment download Zip compressed package, download completed after the decompression put into a fixed directory. Elasticsearch is dependent on jdk7, so before installing elasticsearch, you need to confirm that the Java environment installed on your computer is a JDK7 version of the installation of the JDK I do not introduce.

The second step, after extracting the downloaded file, the command line into the Elasticsearch bin directory, the directory on my computer is d:\elasticsearch\elasticsearch-1.6.0\bin> Then execute the elasticsearch command, after running, Access http://localhost:9200/, if the results shown, the Elasticsearch started successfully.

Status: The error code for HTTP after the request is made. 200 means everything is fine.

Name: We elasticsearch the name of the instance. By default, it will randomly select one from a giant long list of names.

A cluster_name that represents the cluster name of the Elasticsearch.

Version: Represents Elasticsearch, and the Number field in version represents the version of the currently running Elasticsearch, Lucene_ Version indicates that the currently running Elasticsearch was developed based on that version of Lucene.

Tagline: Contains the first tagline of Elasticsearch: "You Know, for Search."

Elasticsearch has a web front-end interface, Elasticsearch Head, run a command to Plugin-install Mobz/elasticsearch-head, After the download is completed, a plugins directory will be generated in the Elasticsearch directory, where Elasticsearch Head has been successfully installed into your environment. Then visit http://localhost:9200/_plugin/head/, if the access is successful, then the plug-in installation is successful. Under the interface:

Elasticsearch Installation in Window environment

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.