Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moving Elastisearch low level client to stable #22107

Merged
merged 1 commit into from
Dec 20, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/src/main/asciidoc/elasticsearch.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ metadata:
guide: "https://quarkus.io/guides/elasticsearch"
categories:
- "data"
status: "preview"
status: "stable"
config:
- "quarkus.elasticsearch."