Skip to content
Advertisement

Tag: hibernate-search-6

Hibernate Search 6: Methods mapping

In Hibernate Search 5.x I can map entity method as the fulltext field like this: Then I have a field with name “wholeName” in my fulltext index and it contains return value of getWholeName() method. How to do it in Hibernate Search 6? I found only a way how to map an entity field but not a method. Thank you!

Advertisement