"ElasticSearch" ElasticSearch Introduction and Installation

Source: Internet
Author: User

Introduced

Elasticsearch is an open-source, distributed search engine with high reliability and support for a very wide number of enterprise search use cases. Like SOLR4, it's built on Lucene. Supports time-time indexing and full-text retrieval. Official website: http://www.elasticsearch.org

It provides a range of Java and HTTP-based APIs for indexing, retrieving, and modifying most configurations.

Installation:

1. First install the Java environment and configure the environment variables.

2. Download the Elasticsearch from http://www.elasticsearch.org/download/. Again, there are a lot of talk about how to operate it in Linux with other non-windowing systems, but the author is more concerned with the Windows 7 desktop environment. Please select the package to install. To the Windows system-a ZIP file-the user can decompress to C:\elasticsearch-0.90.3\. Keep in mind that this is very different from installing the Eclipse IDE.

3. Install Curl with Cygwin, install Cygwin in http://cygwin.com/install.html, and install the Curl package in the Cygwin Setup program.

4. Run the cmd command line and enter the CD C:\elasticsearch-0.90.3\bin directory.

5. After running Elasticsearch.bat, a Elasticsearch node is started on this machine. You will see the following record prompt.

6. Verify that the Elasticsearch installation was successful.

Browser input http://localhost:9200

Let's look at the meaning of each field represented by JSON:

Ok: When True, it means that the request was successful.

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.

Version: This object has a number field that represents the currently running version of Elasticsearch, and a snapshot_build field that represents whether the version you are currently running is built from source code.

Tagline: Contains the first Tagline of Elasticsearch: "YouKnow, for Search."

6. Install Elasticsearch Head plugin

Run cmd command line, CD C:\elasticsearch-0.90.3\bin Plugin-install Mobz/elasticsearch-head

7. Verify that the ElasticSearch head plugin is successful and the browser opens http://localhost:9200/_plugin/head/

"ElasticSearch" ElasticSearch Introduction and Installation

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.