-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Installation Guide
shiyuan edited this page May 29, 2017
·
19 revisions
#Installation Guide
elasticsearch version | latest version | remarks | branch |
---|---|---|---|
5.x | 5.4.0.0 | delete commands not supported | master |
2.0.0 | 2.0.2 | delete commands not supported | elastic2.0 |
2.1.0 | 2.1.0 | delete commands not supported | elastic2.1 |
1.X | 1.4.7 | tested against elastic 1.4-1.6 | elastic1.x |
./bin/plugin -u https://github.com/NLPchina/elasticsearch-sql/releases/download/1.4.7/elasticsearch-sql-1.4.7.zip --install sql
./bin/plugin install https://github.com/NLPchina/elasticsearch-sql/releases/download/2.0.2/elasticsearch-sql-2.0.2.zip
./bin/plugin install https://github.com/NLPchina/elasticsearch-sql/releases/download/2.1.0/elasticsearch-sql-2.1.0.zip
After doing this, you need to restart the Elasticsearch server. Otherwise you may get errors like Invalid index name [sql], must not start with '']; ","status":400}
.
If you are having trouble with direct install you can always download the zip file for your version from the link for example: https://github.com/NLPchina/elasticsearch-sql/releases/download/1.4.7/elasticsearch-sql-1.4.7.zip
save it to your computer and run:
./bin/plugin -u file:///home/yourFolder/elasticsearch-sql-1.4.7.zip --install sql
for 5.x:
- run
./bin/elasticsearch-plugin install file:///home/yourFolder/elasticsearch-sql-5.4.0.0.zip
- Use node to run site / just click on index.html (make sure to enable cors on elasticsearch.yml)