diff --git a/.travis.yml b/.travis.yml index 82cc9ae7..c6a0fb8e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,7 +17,7 @@ before_install: # update to java 8 - sudo update-java-alternatives -s java-8-oracle - export JAVA_HOME=/usr/lib/jvm/java-8-oracle - - wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-5.6.3.deb && sudo dpkg -i --force-confnew elasticsearch-5.6.3.deb + - wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-5.6.4.deb && sudo dpkg -i --force-confnew elasticsearch-5.6.4.deb - sudo cp ./src/test/resources/elasticsearch.yml /etc/elasticsearch/elasticsearch.yml - sudo cat /etc/elasticsearch/elasticsearch.yml - sudo java -version diff --git a/README.md b/README.md index 08b75a76..50f9b5f0 100644 --- a/README.md +++ b/README.md @@ -51,6 +51,8 @@ Elasticsearch-SQL **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) **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) **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) +
+**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) Query elasticsearch using familiar SQL syntax. You can also use ES functions in SQL. @@ -116,6 +118,7 @@ Versions | 5.6.1 | 5.6.1.0 | delete commands not supported | elastic5.6.1 | | 5.6.2 | 5.6.2.0 | delete commands not supported | elastic5.6.2 | | 5.6.3 | 5.6.3.0 | delete commands not supported | elastic5.6.3 | +| 5.6.4 | 5.6.4.0 | delete commands not supported | elastic5.6.4 | ### Elasticsearch 1.x ```` @@ -310,6 +313,11 @@ Versions ./bin/elasticsearch-plugin install https://github.com/NLPchina/elasticsearch-sql/releases/download/5.6.3.0/elasticsearch-sql-5.6.3.0.zip ```` +### Elasticsearch 5.6.4 +```` +./bin/elasticsearch-plugin install https://github.com/NLPchina/elasticsearch-sql/releases/download/5.6.4.0/elasticsearch-sql-5.6.4.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}`. ## Basic Usage diff --git a/pom.xml b/pom.xml index 0e1b0a3a..98647764 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ 4.0.0 org.nlpcn elasticsearch-sql - 5.6.3.4 + 5.6.4.0 jar Query elasticsearch using SQL elasticsearch-sql @@ -47,7 +47,7 @@ sql true true - 5.6.3 + 5.6.4 org.elasticsearch.plugin.nlpcn.SqlPlug