Skip to content

Commit 551eb01

Browse files
committed
HSEARCH-5513 Add a "What's New" document for series
1 parent 7770bd2 commit 551eb01

File tree

1 file changed

+81
-0
lines changed
  • documentation/src/main/asciidoc/public/whats-new

1 file changed

+81
-0
lines changed
Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
// SPDX-License-Identifier: Apache-2.0
2+
// Copyright Red Hat Inc. and Hibernate Authors
3+
= What's New in {hibernateSearchVersion}
4+
:doctype: book
5+
:revdate: {docdate}
6+
:sectanchors:
7+
:anchor:
8+
:toc: left
9+
:toclevels: 4
10+
:docinfodir: {docinfodir}
11+
:docinfo: shared,private
12+
:html-meta-description: Hibernate Search, full text search for your entities - Reference Documentation
13+
:html-meta-keywords: hibernate, search, hibernate search, full text, lucene, elasticsearch, opensearch
14+
:html-meta-canonical-link: https://docs.jboss.org/hibernate/stable/search/reference/en-US/html_single/
15+
:title-logo-image: image:hibernate_logo_a.png[align=left,pdfwidth=33%]
16+
:html-meta-version-family: {hibernateSearchVersionShort}
17+
:version-selector-enabled: true
18+
:stem: latexmath
19+
20+
== Dependency upgrades
21+
22+
[[orm-version]]
23+
Hibernate ORM::
24+
Hibernate Search targets the Hibernate ORM 7.2 series.
25+
[[lucene-version]]
26+
Lucene::
27+
The Lucene backend now uses Lucene 9.12.2, while the `lucene-next` backend relies on Lucene 10.2.2
28+
[[elasticsearch-version]]
29+
Elasticsearch::
30+
The Elasticsearch backend works with Elasticsearch 9.2, as well as other already compatible versions.
31+
[[opensearch-version]]
32+
OpenSearch::
33+
The Elasticsearch backend works with OpenSearch 3.2 and 3.3, as well as other already compatible versions.
34+
35+
[[pluggable-clients]]
36+
=== Pluggable Elasticsearch backend REST clients
37+
38+
This version of Hibernate Search introduces pluggable REST clients for the Elasticsearch backend.
39+
Historically, the Elasticsearch backend relied on the Elasticsearch low-level REST client,
40+
which is based on Apache HTTP Client 4. With the new pluggable client architecture,
41+
it is possible to switch to a different REST client as needed.
42+
This may be useful when you are running Hibernate Search in an environment relying on a different HTTP client type (e.g. Vert.x).
43+
or when you need to use some distribution specific client features and need to switch to the OpenSearch REST client.
44+
45+
Hibernate Search provides the following REST client options out of the box:
46+
47+
[[backend-elasticsearch-configuration-client-elasticsearch-client-rest4]]
48+
==== Elasticsearch low level REST client (Apache HTTP Client 4)
49+
50+
Coordinates::
51+
GroupID::: `org.hibernate.search`
52+
ArtifactID::: `hibernate-search-backend-elasticsearch-client-rest4`
53+
Underlying HTTP Client::: Apache HTTP Client 4
54+
55+
This Elasticsearch backend REST client is based on the Elasticsearch low level client (`org.elasticsearch.client:elasticsearch-rest-client`).
56+
Currently, the default REST client used by the Elasticsearch backend.
57+
58+
[[backend-elasticsearch-configuration-client-elasticsearch-client-rest5]]
59+
==== Elasticsearch low level REST client (Apache HTTP Client 5)
60+
61+
Coordinates::
62+
GroupID::: `org.hibernate.search`
63+
ArtifactID::: `hibernate-search-backend-elasticsearch-client-rest5`
64+
Underlying HTTP Client::: Apache HTTP Client 5
65+
66+
This Elasticsearch backend REST client is based on the newer Elasticsearch low level client (`co.elastic.clients:elasticsearch-rest5-client`),
67+
which is also used in the `co.elastic.clients:elasticsearch-java`.
68+
69+
[[backend-elasticsearch-configuration-client-elasticsearch-client-opensearch]]
70+
==== OpenSearch low level REST client (Apache HTTP Client 5)
71+
72+
Coordinates::
73+
GroupID::: `org.hibernate.search`
74+
ArtifactID::: `hibernate-search-backend-elasticsearch-client-opensearch-rest`
75+
Underlying HTTP Client::: Apache HTTP Client 5
76+
77+
This Elasticsearch backend REST client is based on the OpenSearch low level client (`org.opensearch.client:opensearch-rest-client`).
78+
79+
NOTE: It is recommended to explicitly add a client that you prefer as a dependency, since in the future version
80+
of Hibernate Search we will remove the implicit dependency on `hibernate-search-backend-elasticsearch-client-rest4`
81+
from the Elasticsearch backend.

0 commit comments

Comments
 (0)