To improve performance, it's now possible to globally disable FlexibleSearch restrictions defined for individual users, keeping only user group restrictions instead, or further disable them for users in selected user groups.
You can now globally disable FlexibleSearch restrictions defined for individual users and only keep the group restrictions by using the following property:
1flexible.search.disable.individual.search.restrictions=trueThe default value of this property is false. Since FlexibleSearch restrictions are usually defined for user groups, disabling individual user restrictions doesn't affect query results, but it improves performance by reducing the number of required database calls.
Caution
We don't recommend using this property if you've created different FlexibleSearch restrictions for specific users. Applying this property in such a configuration would disable all the individual restrictions.
To further disable individual FlexibleSearch restriction for users in selected user groups, use the following property:
12flexible.search.disable.individual.search.restrictions.for.members.of=customergroup,employeegroup
The flexible.search.disable.individual.search.restrictions.for.members.of property can only be used if flexible.search.disable.individual.search.restrictions is set to true. The value of this property should be a comma-separated list of group IDs.
If you don't specify any user groups as a value of this property, individual search restrictions will be disabled for all users.
Why?
Reduced number of database calls improves the performance of SAP Commerce Cloud.