@@ -25,3 +25,40 @@ Check the https://hibernate.org/search/releases/#compatibility-matrix[compatibil
2525to find versions of Hibernate Search compatible with these older versions of Hibernate ORM.
2626
2727Use <<other-integrations-jakarta,Hibernate ORM 7>> instead.
28+
29+ [[other-integrations-lucene10]]
30+ == Lucene 10
31+
32+ include::../components/_incubating-warning.adoc[]
33+
34+ Hibernate Search {hibernateSearchVersionShort} provides two variants of the <<backend-lucene,Lucene backend>>.
35+
36+ The default, stable one, that works with JDK 17+ and uses Lucene {luceneVersion}:
37+
38+ [source, XML, subs="+attributes"]
39+ ----
40+ <dependency>
41+ <groupId>org.hibernate.search</groupId>
42+ <artifactId>hibernate-search-backend-lucene</artifactId>
43+ </dependency>
44+ ----
45+
46+ And an incubating one based on Lucene {lucene10Version}, that requires JDK 21+:
47+
48+ [source, XML, subs="+attributes"]
49+ ----
50+ <dependency>
51+ <groupId>org.hibernate.search</groupId>
52+ <artifactId>hibernate-search-backend-lucene10</artifactId>
53+ </dependency>
54+ ----
55+
56+ [NOTE]
57+ ====
58+ `hibernate-search-backend-lucene10` is tested against the same test suite as `hibernate-search-backend-lucene`
59+ and currently provides the same search capabilities. The main difference is the Lucene version backing it.
60+ While Hibernate Search {hibernateSearchVersionShort} still <<compatibility-dependencies,targets>> JDK 17,
61+ Lucene 10 is leveraging new Java APIs, particularly to work with memory, that are available starting with JDK 21.
62+ For users running their applications on JDK 21+ and wanting to get the latest Lucene improvements, it would be beneficial to
63+ use this new backend.
64+ ====
0 commit comments