If there is a entity A which index-embeds another entity B and this one index-embeds yet another entity C, specifying includePaths on B.c leads to no fields from C being included at all into the index for A. Just specifying @IndexedEmbedded works, but sometimes you only want a subset of the C fields in the index of the embedding entity A. This is from the forum: https://forum.hibernate.org/viewtopic.php?f=9&t=1043055 |