diff --git a/.travis.yml b/.travis.yml index 3ada6688..85fa0ca2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,7 +7,7 @@ jdk: before_install: - - wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.4.1.deb && sudo dpkg -i --force-confnew elasticsearch-1.4.1.deb + - wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.6.0.deb && sudo dpkg -i --force-confnew elasticsearch-1.6.0.deb services: - elasticsearch diff --git a/README.md b/README.md index c8c927d5..07fca8e7 100644 --- a/README.md +++ b/README.md @@ -15,10 +15,10 @@ You can also use ES functions in SQL. Install as plugin: -###Elasticsearch 1.4.X +###Elasticsearch 1.6.X ```` -./bin/plugin -u https://github.com/NLPchina/elasticsearch-sql/releases/download/1.3.3/elasticsearch-sql-1.3.3.zip --install sql +./bin/plugin -u https://github.com/NLPchina/elasticsearch-sql/releases/download/1.3.4/elasticsearch-sql-1.3.4.zip --install sql ```` ## Basic Usage diff --git a/pom.xml b/pom.xml index 2ab496d4..6b06f186 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ 4.0.0 org.nlpcn elasticsearch-sql - 1.3.3 + 1.3.4 jar Query elasticsearch using SQL elasticsearch-sql @@ -55,7 +55,7 @@ org.elasticsearch elasticsearch - 1.4.1 + 1.6.0 provided diff --git a/src/test/java/org/nlpcn/es4sql/MainTestSuite.java b/src/test/java/org/nlpcn/es4sql/MainTestSuite.java index 9ca4f45d..337924d3 100644 --- a/src/test/java/org/nlpcn/es4sql/MainTestSuite.java +++ b/src/test/java/org/nlpcn/es4sql/MainTestSuite.java @@ -109,7 +109,7 @@ public static void loadBulk(String jsonPath) throws Exception { BulkRequestBuilder bulkBuilder = new BulkRequestBuilder(client); byte[] buffer = ByteStreams.toByteArray(new FileInputStream(jsonPath)); - bulkBuilder.add(buffer, 0, buffer.length, true, TEST_INDEX, null); + bulkBuilder.add(buffer, 0, buffer.length, TEST_INDEX, null); BulkResponse response = bulkBuilder.get(); if(response.hasFailures()) {