[hibernate-dev] [Search] Index embedded and id property of embedded entity

Guillaume Smet guillaume.smet at gmail.com
Tue Apr 29 08:49:11 EDT 2014


Hi,

On Tue, Apr 29, 2014 at 1:45 PM, Hardy Ferentschik <hardy at hibernate.org> wrote:
>> Yes I mean we could never include it by default, and allow the
>> "includePath" to be the (only) way to include things.
>
> But this forces you to list all fields to include explicitly in case you want the id added, but otherwise are happy
> to just use the default @IndexedEmbedded.

I think we should keep the id with the default @IndexedEmbedded. It
was weird to include the id when the includePath didn't ask for it but
it would be weird to not include the id with the default
@IndexedEmbedded.

-- 
Guillaume


More information about the hibernate-dev mailing list