From f42696255e45535bfcb4a7a1830f601dc2b4d1d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Mathieu?= Date: Fri, 10 Dec 2021 12:52:21 +0100 Subject: [PATCH] Moving Elastisearch low level client to stable --- docs/src/main/asciidoc/elasticsearch.adoc | 4 ++-- .../src/main/resources/META-INF/quarkus-extension.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/src/main/asciidoc/elasticsearch.adoc b/docs/src/main/asciidoc/elasticsearch.adoc index b9e687bc03f08..f57264cb947b0 100644 --- a/docs/src/main/asciidoc/elasticsearch.adoc +++ b/docs/src/main/asciidoc/elasticsearch.adoc @@ -14,8 +14,6 @@ In this guide, we will see how you can get your REST services to use an Elastics Quarkus provides two ways of accessing Elasticsearch: via the lower level `RestClient` or via the `RestHighLevelClient` we will call them the low level and the high level clients. -include::./status-include.adoc[] - == Prerequisites To complete this guide, you need: @@ -345,6 +343,8 @@ Quarkus provides support for the Elasticsearch High Level REST Client but keep i - It drags a lot of dependencies - especially Lucene -, which doesn't fit well with Quarkus philosophy. The Elasticsearch team is aware of this issue and it might improve sometime in the future. - It is tied to a certain version of the Elasticsearch server: you cannot use a High Level REST Client version 7 to access a server version 6. +include::./status-include.adoc[] + Here is a version of the `FruitService` using the high level client instead of the low level one: [source,java] diff --git a/extensions/elasticsearch-rest-client/runtime/src/main/resources/META-INF/quarkus-extension.yaml b/extensions/elasticsearch-rest-client/runtime/src/main/resources/META-INF/quarkus-extension.yaml index 6771afd265f40..185c1ea41c6c7 100644 --- a/extensions/elasticsearch-rest-client/runtime/src/main/resources/META-INF/quarkus-extension.yaml +++ b/extensions/elasticsearch-rest-client/runtime/src/main/resources/META-INF/quarkus-extension.yaml @@ -9,6 +9,6 @@ metadata: guide: "https://quarkus.io/guides/elasticsearch" categories: - "data" - status: "preview" + status: "stable" config: - "quarkus.elasticsearch."