Hibernate Search

Migration Guide from Hibernate Search 5.0 to 5.1

Here we are helping you migrate your existing Search application to the latest and greatest.

Upgrade to Search 5.1.x from 5.0.x

The aim of this guide is to assist you migrating an existing application using any version 5.0.x of Hibernate Search to the latest of the 5.1.x series. If you’re looking to migrate different versions see Hibernate Search migration guides.

This document provides pointers for a migration. It refers to Hibernate Search version 5.1.2.Final. If you think something is missing or something does not work, please contact us.


The basic requirements didn’t change.

API changes

The annotation org.hibernate.search.annotations.Key is now deprecated. There is no replacement, it’s simply no longer required for users to provide a key object.

Back to top