Skip to content

Commit

Permalink
Merge pull request #22107 from loicmathieu/elasticsearch-stable
Browse files Browse the repository at this point in the history
Moving Elastisearch low level client to stable
  • Loading branch information
gsmet authored Dec 20, 2021
2 parents 31e08ac + f426962 commit d9f25a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
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."

0 comments on commit d9f25a2

Please sign in to comment.