Elasticsearch-sql Installation

Source: Internet
Author: User

GitHub Address: Https://github.com/NLPchina/elasticsearch-sql
The Elasticsearch-sql plugin makes it easy for us to query the elasticsearch using the SQL language

1, enter the Elasticsearch installation directory, execute the following command (Windows and Linux slashes to note):

./bin/elasticsearch-plugin Install https://github.com/nlpchina/elasticsearch-sql/releases/download/ 6.2.3.0/elasticsearch-sql-6.2.3.0.zip 

or download it from GitHub and put it under the plugins\sql of ES.

2. node. js file required for download page

https://github.com/nlpchina/elasticsearch-sql/releases/download/5.4.1.0/es-sql-site-standalone.zip

Install and run in the Unzip directory

NPM Install Express--savenode node-server.js

The default port for Elasticsearch-sql is 8080 and can be modified in the Site-server/site_configuration.json file
Then open the http://localhost:8080/access plugin

Note Modify the address of the local elasticsearch in the upper-right corner , SQL script does not need a semicolon ";" At the end, if an index has more than one type, the table name is represented by Indexname/typename

Elasticsearch-sql 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.