After a relatively quiet candidate release, we just published Hibernate Search version 5.6.0.Final with experimental Elasticsearch integration, along with 5.7.0.CR1.
Version 5.6.0.Final brings the latest bugfixes for our experimental Elasticsearch integration. This is the version to use with Hibernate ORM versions 5.0 and 5.1.
Version 5.7.0.CR1 brings the exact same changes as 5.6.0.Final, and now features the compatibility with Hibernate ORM version 5.2.7 (but not lower than 5.2.3, see more on this further down).
Below are the main changes since the candidate release.
HSEARCH-2501: the handling of
@CalendarBridge.resolutionwith Elasticsearch was aligned on the one with Lucene: they are now consistent.
HSEARCH-2531: with Elasticsearch, index names can now be overridden using configuration properties, just like when using Lucene. Thanks to Cary Yu for reporting the issue!
HSEARCH-2519 and HSEARCH-2520: the Elasticsearch
MERGEindex management strategies now handle analyzer definitions. This will only affect you if you were using
@AnalyzerDef-defined analyzers on entities that are indexed in Elasticsearch. If you are, please be aware that the
MERGEstrategy may now close/reopen your index automatically during bootstrap! See the reference documentation for more information about the
The main change in 5.7.0.CR1 since 5.7.0.Beta2 is the upgrade to Hibernate ORM 5.2.7. For a full list of changes, see the release notes.
Please note that Hibernate Search 5.7 now requires Hibernate ORM 5.2.3 onwards, and cannot be used with previous Hibernate ORM versions.
5.7 is beginning its candidate release period, meaning that as far as we are concerned, it is already ready. We are giving a last chance for the community to report bugs, and unless we are delayed by major bugs, the actual 5.7.0.Final release should happen in mid-February.
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.6.0.Final</version> </dependency>
Or, for Hibernate Search 5.7:
<dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate-search-orm</artifactId> <version>5.7.0.CR1</version> </dependency>
To use the experimental Elasticsearch integration you’ll also need:
<dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate-search-elasticsearch</artifactId> <version>5.6.0.Final</version> </dependency>
Change the version to
5.7.0.CR1 in order to test the Hibernate ORM 5.2 integration.
Downloads from Sourceforge are available as well.