我很难使用hibernate搜索将索引字段添加到嵌入式对象中。我有一个简单的示例,其中公司可以有许多CompanyAddress(es) --我的设置示例如下所示:@Data@Table(name="COMPANY")SessionFactory; nested exception is org.hibernate.search.exception.SearchException: HSEARCH000216: Found
我有以下例外:
org.hibernate.search.exception.SearchException: HSEARCH000131:用于空间查询的字段“organization.Organization因此,我尝试实现Hibernate的坐标,将@Entity更改为@Embeddable,在coordinates属性上更改@IndexedEmbedded for @ class in Organization类,删除坐标类中的</em