Hibernate Search is a library that integrates Hibernate ORM with Apache Lucene or Elasticsearch by automatically indexing entities, enabling advanced search functionality: full-text, geospatial, aggregations and more. For more information, see Hibernate Search on hibernate.org.

Hibernate Search 4.2.0.Final is ready for download; grab the distribution from Sourceforge or use the Maven artifacts.

Release Highlights

  • Hibernate Search now supports Spatial queries: search in a geographic area, sort by distance, and all that good jazz. Check the documentation: we just reorganized to make it clearer and more action focused.
  • Apache Lucene 3.6: this version of Hibernate Search is compatible with any 3.6 version of Lucene; the suggested version is 3.6.2.
  • Indexing files like MP3, Word documents etc via our integration with Apache Tika for easy extraction and indexing of (meta)data from a large collection of file types.
  • Simplified support for JBoss AS 7: we now release a set of tested modules for the JBoss Application Server 7 to simplify your integration.
  • Performance improvements for the Near Real Time support.
  • General improvements: many minor fixes and some important ones for the MassIndexer functionality.
  • Compatibility with the latest Hibernate ORM 4.1.9.Final.

Upgrading

We took care to make it easy to upgrade from the previous stable version; in case of trouble make sure to check the Migration Guide, as we use it to keep track of any change which could have an impact on backwards compatibility. As always when changing versions of Lucene it is recommended to rebuild the indexes.

Get in touch

The easiest way to get in touch with us and other Hibernate Search users is the forums, this is where we provide volunteer-based help (which includes you as well if you can), or if you are a veteran and know you have found a problem you can open a JIRA issue directly. Patches are welcome in any form, but the easiest way is to provide a pull request from GitHub.

Little known fact: you can get support for Hibernate Search when you use JBoss Enterprise Application Platform and JBoss Web Framework Kit from Red Hat.

What's next?

We would like to hear your opinion on what you want next in Hibernate Search. Please share your stories and use cases on the forums to help us shape the future.

Sanne's idea is to work more on the Infinispan integration to cluster your indexes more easily and then upgrade to Apache Lucene 4.x.

Thanks

... to all contributors and everyone else for the motivating suggestions!

Many special thanks to Guillaume Smet and his coworkers for their tests and bug reports and to Nicolas Helleringer for his work on the spatial feature. We have iterated to much on this one it's already at least in version 2 :D


Back to top