문제

I've recentlly added Hibernate Search to an existing project with existing entity classes and marked a few entities and fields with Indexed/Field.

However I get following exception at bootstrap time:

org.hibernate.search.SearchException: HSEARCH000135: Unable to guess FieldBridge for <some entity class which is not marked with @Indexed>

The class which is mentioned changes from time to time, but it is not a class which is marked with @Indexed nor it is related with an entity which is indexed.

Why does it even look at these classes?

I'm using Hibernate 4.2.8 with JPA2 and Hibernate Search 4.4.0.

도움이 되었습니까?

해결책

If the entity in question has a composite ID, it is probably caused by this bug.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top