Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fb5b5d8

Browse files
authored
Merge pull request NLPchina#7 from NLPchina/master
Add support for Elasticsearch 5.6.4
2 parents ea764cc + 931a5ef commit fb5b5d8

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ before_install:
1717
# update to java 8
1818
- sudo update-java-alternatives -s java-8-oracle
1919
- export JAVA_HOME=/usr/lib/jvm/java-8-oracle
20-
- wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-5.6.3.deb && sudo dpkg -i --force-confnew elasticsearch-5.6.3.deb
20+
- wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-5.6.4.deb && sudo dpkg -i --force-confnew elasticsearch-5.6.4.deb
2121
- sudo cp ./src/test/resources/elasticsearch.yml /etc/elasticsearch/elasticsearch.yml
2222
- sudo cat /etc/elasticsearch/elasticsearch.yml
2323
- sudo java -version

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ Elasticsearch-SQL
5151
**5.6.1** [![5.6.1 Build Status](https://travis-ci.org/NLPchina/elasticsearch-sql.svg?branch=elastic5.6.1)](https://travis-ci.org/NLPchina/elasticsearch-sql)
5252
**5.6.2** [![5.6.2 Build Status](https://travis-ci.org/NLPchina/elasticsearch-sql.svg?branch=elastic5.6.2)](https://travis-ci.org/NLPchina/elasticsearch-sql)
5353
**5.6.3** [![5.6.3 Build Status](https://travis-ci.org/NLPchina/elasticsearch-sql.svg?branch=elastic5.6.3)](https://travis-ci.org/NLPchina/elasticsearch-sql)
54+
<br/>
55+
**5.6.4** [![5.6.4 Build Status](https://travis-ci.org/NLPchina/elasticsearch-sql.svg?branch=elastic5.6.4)](https://travis-ci.org/NLPchina/elasticsearch-sql)
5456

5557
Query elasticsearch using familiar SQL syntax.
5658
You can also use ES functions in SQL.
@@ -116,6 +118,7 @@ Versions
116118
| 5.6.1 | 5.6.1.0 | delete commands not supported | elastic5.6.1 |
117119
| 5.6.2 | 5.6.2.0 | delete commands not supported | elastic5.6.2 |
118120
| 5.6.3 | 5.6.3.0 | delete commands not supported | elastic5.6.3 |
121+
| 5.6.4 | 5.6.4.0 | delete commands not supported | elastic5.6.4 |
119122

120123
### Elasticsearch 1.x
121124
````
@@ -310,6 +313,11 @@ Versions
310313
./bin/elasticsearch-plugin install https://github.com/NLPchina/elasticsearch-sql/releases/download/5.6.3.0/elasticsearch-sql-5.6.3.0.zip
311314
````
312315

316+
### Elasticsearch 5.6.4
317+
````
318+
./bin/elasticsearch-plugin install https://github.com/NLPchina/elasticsearch-sql/releases/download/5.6.4.0/elasticsearch-sql-5.6.4.0.zip
319+
````
320+
313321
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}`.
314322

315323
## Basic Usage

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>org.nlpcn</groupId>
55
<artifactId>elasticsearch-sql</artifactId>
6-
<version>5.6.3.4</version>
6+
<version>5.6.4.0</version>
77
<packaging>jar</packaging>
88
<description>Query elasticsearch using SQL</description>
99
<name>elasticsearch-sql</name>
@@ -47,7 +47,7 @@
4747
<elasticsearch.plugin.name>sql</elasticsearch.plugin.name>
4848
<elasticsearch.plugin.site>true</elasticsearch.plugin.site>
4949
<elasticsearch.plugin.jvm>true</elasticsearch.plugin.jvm>
50-
<elasticsearch.version>5.6.3</elasticsearch.version>
50+
<elasticsearch.version>5.6.4</elasticsearch.version>
5151
<elasticsearch.plugin.classname>org.elasticsearch.plugin.nlpcn.SqlPlug</elasticsearch.plugin.classname>
5252
</properties>
5353

0 commit comments

Comments
 (0)