Details
Description
With OAK-3633 support was added for excluding a relative property from being excluded from aggregation. However that only works if index=false for that property.
In some cases its desirable that property is excluded from aggregation but one can still configure a property index for it. For such cases we should only exclude property from aggregation if nodeScopeIndex is set to false