Skip to content

Installation Guide

Eliran Moyal edited this page Nov 28, 2015 · 19 revisions

#Installation Guide

Versions

elasticsearch version latest version remarks branch
1.X 1.4.7 tested against elastic 1.4-1.6 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

Elasticsearch 1.X

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

Elasticsearch 2.0.0

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

Elasticsearch 2.1.0

./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
Clone this wiki locally