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