We're updating the issue view to help you get more done. 

Improve the error message when the inverse side of an association cannot be found by Hibernate Search

Description

Users are very likely to get this error, so we should make sure it's clear and guides the user to a solution.

We should make the message clearer and mention the various solutions:

  1. Define the non-owning side of the association in the target entity (when using Hibernate ORM)

  2. OR define the inverse side of the association using @AssociationInverseSide

  3. OR (expert feature) disable automatic reindexing when the target entity changes using @IndexingDependency(reindexOnUpdate = ReindexOnUpdate.NO)

Environment

None

Status

Assignee

Yoann Rodière

Reporter

Yoann Rodière

Labels

None

Suitable for new contributors

None

Feedback Requested

None

Components

Fix versions

Affects versions

6.0.0.Alpha2

Priority

Major