Implement visiting Criterion\UserMetadata::GROUP target #1045
This PR resolves https://jira.ez.no/browse/EZP-23400
Ancestor UserGroups ids for the Content owner are indexed and criterion visitor for
Note that this will require reindexing owner user Content when:
We currently do not implement slots for all of the cases, hence the tests for Solr and ES are intentionally limited until we implement them. We also lack SPI to do implement some of those properly. UserService handles this problem by relying on search, but search should not be used in indexing slots as indexing is asynchronous.
Tests: integration tests.
referenced this pull request
Oct 22, 2014
@andrerom very hard to do because of arbitrary Location hierarchy... parent/child joins are not all that performant, and if multiple levels are joined (I don't think that can even be done in a dynamic way) the performance would decrease even more. See last section at parent-child practical considerations for more info.