Hibernate Search

5.10 series stable

ORM 5.3 and JPA 2.2 compatibility, integration to DI frameworks through Hibernate ORM 5.3, upgrade to WildFly 12 and JGroups 4, JPMS automatic module names.

Compatibility

Java 8 - 9
Hibernate ORM 5.3
Elasticsearch 2.0 - 5.6
Apache Lucene 5.5

Not compatible with your requirements? Have a look at the other series.

Documentation

Documentation for this specific series can be accessed through the links below:

HTML PDF API (JavaDoc)

You can find more documentation for all series on the documentation page.

How to get it

Maven, Gradle...

Maven artifacts of Hibernate Search are published to Maven Central and to the JBoss Maven repository. Refer to the Maven Getting Started guide on the JBoss Wiki for more information on how to configure the JBoss Maven repository.

You can find the Maven coordinates of all artifacts through the link below:

Maven artifacts

Below are the Maven coordinates of the main artifacts.

org.hibernate:hibernate-search-orm:5.10.5.Final
Hibernate ORM integration
org.hibernate:hibernate-search-elasticsearch:5.10.5.Final
Elasticsearch integration
org.hibernate:hibernate-search-elasticsearch-aws:5.10.5.Final
Amazon IAM authentication for Elasticsearch
org.hibernate:hibernate-search-backend-jgroups:5.10.5.Final
JGroups backend
org.hibernate:hibernate-search-backend-jms:5.10.5.Final
JMS backend
org.hibernate:hibernate-search-jsr352-core:5.10.5.Final
JSR 352 (Batch for Java) integration - Core
org.hibernate:hibernate-search-jsr352-jberet:5.10.5.Final
JSR 352 (Batch for Java) integration - JBeret specifics
org.hibernate:hibernate-search-jbossmodules-engine:5.10.5.Final
WildFly feature pack - Engine
org.hibernate:hibernate-search-jbossmodules-orm:5.10.5.Final
WildFly feature pack - Hibernate ORM integration
org.hibernate:hibernate-search-jbossmodules-elasticsearch:5.10.5.Final
WildFly feature pack - Elasticsearch integration
org.hibernate:hibernate-search-jbossmodules-elasticsearch:5.10.5.Final
WildFly feature pack - Amazon IAM authentication for Elasticsearch
org.hibernate:hibernate-search-jbossmodules-jgroups:5.10.5.Final
WildFly feature pack - JGroups backend

Zip archive

Direct download is available from SourceForge:

Download Zip archive

More information about specific releases (announcements, download links) can be found here.

What's new

Latest release announcement (2018-11-22): 5.10.5.Final.

A detailed list of new features, improvements and fixes in this series can be found on our JIRA instance.

ORM 5.3 and JPA 2.2 compatibility

Hibernate Search 5.10 is designed to work with Hibernate ORM 5.3.

Integration to DI frameworks through Hibernate ORM 5.3

Hibernate Search now taps into Hibernate ORM’s integration to dependency injection frameworks. If you use a dependency injection framework integrating with Hibernate ORM 5.3, and you add field bridges to your dependency injection context, then Hibernate Search will automatically retrieve and use field bridges from this context.

This allows you in particular to inject components from your DI context into your field bridges, using your DI framework’s features (@java.inject.Inject, Spring’s @Autowired, …​).

The integration is already known to work in a CDI 2.0 environment such as WildFly 12, and the Spring team will probably make it work as soon as it adds support for JPA 2.2.

Upgrade to WildFly 12 and JGroups 4

Hibernate Search’s JBoss modules now target WildFly 12. This means in particular that the JGroups backend now uses JGroups 4 and is no longer compatible with JGroups 3.

Also, we took this opportunity to move the JGroups backend’s JBoss modules out of the engine feature pack to a dedicated feature pack.

JPMS automatic module names

We added automatic JPMS module names to our JARs.

Note that Hibernate Search JARs still can only be used as automatic modules, because some of our dependencies cannot easily be used as modules yet.

Here are the module names:

  • org.hibernate.search.engine

  • org.hibernate.search.orm

  • org.hibernate.search.backend.elasticsearch

  • org.hibernate.search.backend.elasticsearch.aws

  • org.hibernate.search.clustering.jms

  • org.hibernate.search.clustering.jgroups

  • org.hibernate.search.jsr352.core

  • org.hibernate.search.jsr352.jberet

  • org.hibernate.search.serialization.avro

Direct access to the Elasticsearch client

Hibernate Search now offers a way to access the Elasticsearch client directly. See the documentation for more information.

Migrate

If you need to upgrade from a previous series, please refer to the migration guide.

Releases in this series

5.10.4.Final

2018-09-10

Back to top