Skip to content

Installation Guide

eliranmoyal edited this page Nov 13, 2015 · 19 revisions

#Installation Guide

Versions

elasticsearch version latest version remarks
1.X 1.4.6 tested against elastic 1.4-1.6
2.0.0 2.0.1 delete commands not supported

Elasticsearch 1.X

./bin/plugin -u https://github.com/NLPchina/elasticsearch-sql/releases/download/1.4.6/elasticsearch-sql-1.4.6.zip --install sql

Elasticsearch 2.0.0

./bin/plugin install https://github.com/NLPchina/elasticsearch-sql/releases/download/2.0.1/elasticsearch-sql-2.0.1.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 from here: https://github.com/NLPchina/elasticsearch-sql/releases/download/1.4.6/elasticsearch-sql-1.4.6.zip

save it to your computer and run:

./bin/plugin -u file:///home/yourFolder/elasticsearch-sql-1.4.6.zip --install sql
Clone this wiki locally