@IndexedEmbedded.includePaths should allow to pick paths that were excluded from the embedded entity
Currently includePaths can only be used in a root entity A.
If you use includePaths also in the embedded entity that is a root entity itself, any paths from A to C will fail, because using includePaths in the embedded entity B will set depth to 0.
In most cases, this is ok, however, it can be very limiting and this limitation shouldn't be there.
The above code will lead c.date to not be indexed because of includePaths="label".
may provide an alternative solution to this problem.
I think we could make this work in 6, but this conflicts quite directly with HSEARCH-2552, which states exactly the opposite. Adding this to the next milestone so that we can have a look.
Perhaps one to consider for 5.4?
I would recommend adding a fix/version for this one, preferable: next. This is too fundamental to leave lying around