Fixes #6651 : dotContent Pull with Random sort fails.

The randomization of results is performed by dynamic scripting. Setting the es.script.disable_dynamic property to "false" will allow the execution of the script.