diff --git a/documentation/pom.xml b/documentation/pom.xml index 0e271131464..91c652ee9dd 100644 --- a/documentation/pom.xml +++ b/documentation/pom.xml @@ -337,6 +337,7 @@ ${parsed-version.jakarta.persistence.majorVersion}.${parsed-version.jakarta.persistence.minorVersion} ${version.jandex.plugin} ${version.org.apache.lucene} + ${version.org.apache.lucene10} https://lucene.apache.org ${javadoc.org.apache.lucene.core.url} ${javadoc.org.apache.lucene.analysis.common.url} diff --git a/documentation/src/main/asciidoc/public/reference/_compatibility.adoc b/documentation/src/main/asciidoc/public/reference/_compatibility.adoc index aac94af0da4..d9a81133727 100644 --- a/documentation/src/main/asciidoc/public/reference/_compatibility.adoc +++ b/documentation/src/main/asciidoc/public/reference/_compatibility.adoc @@ -21,7 +21,7 @@ | |Apache Lucene (for the <>) |{luceneVersion} -| +|Or Lucene {lucene10Version} when using the JDK 21+ and <>. |Elasticsearch server (for the <>) |{elasticsearchCompatibleVersions} |Most of older minor versions (e.g. {elasticsearchOtherPotentiallyCompatibleVersions}) are not given priority for bugfixes and new features. diff --git a/documentation/src/main/asciidoc/public/reference/_integrations.adoc b/documentation/src/main/asciidoc/public/reference/_integrations.adoc index 637026bd2ea..adf01c38582 100644 --- a/documentation/src/main/asciidoc/public/reference/_integrations.adoc +++ b/documentation/src/main/asciidoc/public/reference/_integrations.adoc @@ -25,3 +25,28 @@ Check the https://hibernate.org/search/releases/#compatibility-matrix[compatibil to find versions of Hibernate Search compatible with these older versions of Hibernate ORM. Use <> instead. + +[[other-integrations-lucene10]] +== Lucene 10 + +Hibernate Search {hibernateSearchVersionShort} provides two variations of the <>. + +The default one, that works with JDK 17+ and uses Lucene {luceneVersion}: + +[source, XML, subs="+attributes"] +---- + + org.hibernate.search + hibernate-search-backend-lucene + +---- + +And the Lucene {lucene10Version} based one, that requires JDK 21+: + +[source, XML, subs="+attributes"] +---- + + org.hibernate.search + hibernate-search-backend-lucene10 + +----