Hibernate Search 5.8.x, just as 5.7.x, is only compatible with Hibernate ORM 5.2.3 and later.
If you need to use Hibernate ORM 5.0.x or 5.1.x, use the older Hibernate Search 5.6.x.
We completed most of the work on new features and improvements for 5.8, and are now mainly working on performance improvements for the Elasticsearch integration.
As a consequence, you can expect the next version we’ll publish to be a candidate release.
Once the CR is out, we will only fix bugs, and functional improvements will have to wait until the next minor release.
So if you plan on using AWS integration, normalizers, analyzer providers, or SPIs for integration of dependency injection frameworks, now’s the last time to ask for improvements before the actual release!
Building on the new SPIs introduced in Beta3, we added a new module allowing you to very simply wire your Hibernate Search instance to an AWS-hosted Elasticsearch cluster using Amazon’s proprietary IAM authentication mechanism.
You can find more information about how to use this integration in the reference documentation.
A summary of other notable changes:
buffer_size_on_copyconfiguration property has been deprecated, because we now use Java NIO for file copy and thus don’t need explicit buffering anymore.
QueryBuilderfor normalized fields no longer fails with Elasticsearch.
For a full list of changes since 5.8.0.Beta3, please see the release notes.
All versions are available on Hibernate Search’s web site.
Ideally use a tool to fetch it from Maven Central; these are the coordinates:
<dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate-search-orm</artifactId> <version>5.8.0.Beta4</version> </dependency>
To use the experimental Elasticsearch integration you’ll also need:
<dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate-search-elasticsearch</artifactId> <version>5.8.0.Beta4</version> </dependency>
And to also use Amazon’s proprietary IAM authentication mechanism to access your Elasticsearch cluster you’ll also need:
<dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate-search-elasticsearch-aws</artifactId> <version>5.8.0.Beta4</version> </dependency>
Downloads from Sourceforge are available as well.