1
1
Elasticsearch-SQL
2
2
=================
3
- ** 1.X** [ ![ 1.X Build Status] ( https://travis-ci.org/NLPchina/elasticsearch-sql.svg?branch=master )] ( https://travis-ci.org/NLPchina/elasticsearch-sql ) <br >
4
- ** 2.0.0** [ ![ 2.0.0 Build Status] ( https://travis-ci.org/NLPchina/elasticsearch-sql.svg?branch=elastic2.0 )] ( https://travis-ci.org/NLPchina/elasticsearch-sql ) <br >
5
- ** 2.1.0** [ ![ 2.1.0 Build Status] ( https://travis-ci.org/NLPchina/elasticsearch-sql.svg?branch=elastic2.1 )] ( https://travis-ci.org/NLPchina/elasticsearch-sql ) <br >
6
- ** 2.1.1** [ ![ 2.1.1 Build Status] ( https://travis-ci.org/NLPchina/elasticsearch-sql.svg?branch=elastic2.1.1 )] ( https://travis-ci.org/NLPchina/elasticsearch-sql ) <br >
3
+ ###build status
4
+ ** 1.X** [ ![ 1.X Build Status] ( https://travis-ci.org/NLPchina/elasticsearch-sql.svg?branch=master )] ( https://travis-ci.org/NLPchina/elasticsearch-sql )
5
+ ** 2.0.0** [ ![ 2.0.0 Build Status] ( https://travis-ci.org/NLPchina/elasticsearch-sql.svg?branch=elastic2.0 )] ( https://travis-ci.org/NLPchina/elasticsearch-sql )
6
+ ** 2.1.0** [ ![ 2.1.0 Build Status] ( https://travis-ci.org/NLPchina/elasticsearch-sql.svg?branch=elastic2.1 )] ( https://travis-ci.org/NLPchina/elasticsearch-sql )
7
+ ** 2.1.1** [ ![ 2.1.1 Build Status] ( https://travis-ci.org/NLPchina/elasticsearch-sql.svg?branch=elastic2.1.1 )] ( https://travis-ci.org/NLPchina/elasticsearch-sql )
8
+ ** 2.1.2** [ ![ 2.1.2 Build Status] ( https://travis-ci.org/NLPchina/elasticsearch-sql.svg?branch=elastic2.1.2 )] ( https://travis-ci.org/NLPchina/elasticsearch-sql )
9
+ ** 2.2.0** [ ![ 2.2.0 Build Status] ( https://travis-ci.org/NLPchina/elasticsearch-sql.svg?branch=elastic2.2.0 )] ( https://travis-ci.org/NLPchina/elasticsearch-sql )
10
+ ** 2.2.1** [ ![ 2.2.1 Build Status] ( https://travis-ci.org/NLPchina/elasticsearch-sql.svg?branch=elastic2.2.1 )] ( https://travis-ci.org/NLPchina/elasticsearch-sql )
7
11
8
12
Query elasticsearch using familiar SQL syntax.
9
13
You can also use ES functions in SQL.
@@ -24,31 +28,37 @@ Versions
24
28
25
29
| elasticsearch version | latest version | remarks | branch |
26
30
| --------------------- | ------------- | ----------------------------- | ------------ |
27
- | 1.X | 1.4.8 | tested against elastic 1.4-1.6 | master |
28
- | 2.0.0 | 2.0.3 | delete commands not supported | elastic2.0 |
29
- | 2.1.0 | 2.1.0.1 | delete commands not supported | elastic2.1 |
30
- | 2.1.1 | 2.1.1 | delete commands not supported | elastic2.1.1 |
31
- | 2.2.0 | 2.2.0 | delete commands not supported | elastic2.2.0 |
31
+ | 1.X | 1.4.9 | tested against elastic 1.4-1.6 | master |
32
+ | 2.0.0 | 2.0.4 | delete commands not supported | elastic2.0 |
33
+ | 2.1.0 | 2.1.0.2 | delete commands not supported | elastic2.1 |
34
+ | 2.1.1 | 2.1.1.1 | delete commands not supported | elastic2.1.1 |
35
+ | 2.1.2 | 2.1.2.0 | delete commands not supported | elastic2.1.2 |
36
+ | 2.2.0 | 2.2.0.1 | delete commands not supported | elastic2.2.0 |
37
+ | 2.2.1 | 2.2.1.0 | delete commands not supported | elastic2.2.1 |
32
38
33
39
### Elasticsearch 1.X
34
40
````
35
- ./bin/plugin -u https://github.com/NLPchina/elasticsearch-sql/releases/download/1.4.8 /elasticsearch-sql-1.4.8 .zip --install sql
41
+ ./bin/plugin -u https://github.com/NLPchina/elasticsearch-sql/releases/download/1.4.9 /elasticsearch-sql-1.4.9 .zip --install sql
36
42
````
37
43
### Elasticsearch 2.0.0
38
44
````
39
- ./bin/plugin install https://github.com/NLPchina/elasticsearch-sql/releases/download/2.0.3 /elasticsearch-sql-2.0.3 .zip
45
+ ./bin/plugin install https://github.com/NLPchina/elasticsearch-sql/releases/download/2.0.4 /elasticsearch-sql-2.0.4 .zip
40
46
````
41
47
### Elasticsearch 2.1.0
42
48
````
43
- ./bin/plugin install https://github.com/NLPchina/elasticsearch-sql/releases/download/2.1.0.1 /elasticsearch-sql-2.1.0.1 .zip
49
+ ./bin/plugin install https://github.com/NLPchina/elasticsearch-sql/releases/download/2.1.0.2 /elasticsearch-sql-2.1.0.2 .zip
44
50
````
45
51
### Elasticsearch 2.1.1
46
52
````
47
- ./bin/plugin install https://github.com/NLPchina/elasticsearch-sql/releases/download/2.1.1/elasticsearch-sql-2.1.1.zip
53
+ ./bin/plugin install https://github.com/NLPchina/elasticsearch-sql/releases/download/2.1.1.1 /elasticsearch-sql-2.1 .1.1.zip
48
54
````
49
55
### Elasticsearch 2.2.0
50
56
````
51
- ./bin/plugin install https://github.com/NLPchina/elasticsearch-sql/releases/download/2.2.0/elasticsearch-sql-2.2.0.zip
57
+ ./bin/plugin install https://github.com/NLPchina/elasticsearch-sql/releases/download/2.2.0.1/elasticsearch-sql-2.2.0.1.zip
58
+ ````
59
+ ### Elasticsearch 2.2.1
60
+ ````
61
+ ./bin/plugin install https://github.com/NLPchina/elasticsearch-sql/releases/download/2.2.1.0/elasticsearch-sql-2.2.1.0.zip
52
62
````
53
63
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} ` .
54
64
0 commit comments