We are making good progress on our next major release which focuses on Elasticsearch integration but we don’t forget our beloved users of Hibernate Search 5.5.x and here is a new stable release to prove it!
This bugfix release is entirely based on user feedback so keep it coming!
Hibernate Search version
5.5.4.Final is available now and fixes the following issues:
HSEARCH-2301 - CriteriaObjectInitializer is suboptimal when we query only one subtype of a hierarchy
HSEARCH-2286 - DistanceSortField should support reverse sorting
HSEARCH-2306 - Upgrade 5.5.x to Hibernate ORM 5.0.9
HSEARCH-2307 - Documentation shouldn’t suggest need for @Indexed of embedded association fields
Small focus on HSEARCH-2301 as it might significantly improve your performances if you index complex hierarchy of objects. Prior to this fix, when querying the database to hydrate the objects, Hibernate Search was using the root type of the hierarchy potentially leading to queries with a lot of joins. Hibernate now builds the most efficient query possible depending on the effective results.
<dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate-search-orm</artifactId> <version>5.5.4.Final</version> </dependency> <dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate-core</artifactId> <version>5.0.9.Final</version> </dependency> <dependency> <groupId>org.apache.lucene</groupId> <artifactId>lucene-core</artifactId> <version>5.3.1</version> </dependency>
Everything you need is available on Hibernate Search’s web site. Download the full distribution from here, or get it from Maven Central using the above coordinates, and don’t hesitate to reach us in our forums or mailing lists.
We also monitor closely the hibernate-search tag on Stack Overflow.
Feedback always welcome! Please let us know of any problem or suggestion.