From 6841c4466a0a32bfc2c02c448a89079324194370 Mon Sep 17 00:00:00 2001 From: Guilherme Pimenta Date: Mon, 11 Dec 2023 04:23:31 -0300 Subject: [PATCH] Version bump to 8.9.2 (#473) Reviewed, ran tests locally, merging the PR into master. --- gradle.properties | 6 +++--- .../java/com/o19s/es/ltr/rest/RestSearchStoreElements.java | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/gradle.properties b/gradle.properties index 407291d6..0ef54f56 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,5 +1,5 @@ ltrVersion = 1.5.8 -elasticsearchVersion = 8.8.2 -luceneVersion = 9.6.0 +elasticsearchVersion = 8.9.2 +luceneVersion = 9.7.0 ow2Version = 8.0.1 -antlrVersion = 4.5.1-1 \ No newline at end of file +antlrVersion = 4.5.1-1 diff --git a/src/main/java/com/o19s/es/ltr/rest/RestSearchStoreElements.java b/src/main/java/com/o19s/es/ltr/rest/RestSearchStoreElements.java index e657b7c1..1c56aefe 100644 --- a/src/main/java/com/o19s/es/ltr/rest/RestSearchStoreElements.java +++ b/src/main/java/com/o19s/es/ltr/rest/RestSearchStoreElements.java @@ -3,7 +3,7 @@ import org.elasticsearch.client.internal.node.NodeClient; import org.elasticsearch.index.query.BoolQueryBuilder; import org.elasticsearch.rest.RestRequest; -import org.elasticsearch.rest.action.RestStatusToXContentListener; +import org.elasticsearch.rest.action.RestChunkedToXContentListener; import java.util.List; @@ -51,7 +51,7 @@ RestChannelConsumer search(NodeClient client, String type, String indexName, Res .setQuery(qb) .setSize(size) .setFrom(from) - .execute(new RestStatusToXContentListener<>(channel)); + .execute(new RestChunkedToXContentListener<>(channel)); } }