@IndexedEmbedded.includePaths should allow to pick paths that were excluded from the embedded entity

Description

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".

Environment

None

Activity

Show:
Yoann Rodière
November 3, 2020, 7:55 AM
Edited

may provide an alternative solution to this problem.

Yoann Rodière
June 12, 2018, 2:22 PM

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.

Marc Schipperheyn
June 19, 2015, 12:53 PM

Perhaps one to consider for 5.4?

Marc Schipperheyn
June 3, 2015, 1:24 PM

Bump

Marc Schipperheyn
August 8, 2013, 1:58 PM

I would recommend adding a fix/version for this one, preferable: next. This is too fundamental to leave lying around

Assignee

Unassigned

Reporter

Marc Schipperheyn

Labels

Suitable for new contributors

None

Pull Request

None

Feedback Requested

None

Components

Fix versions

Priority

Major