On my local computer, I enable dynamic scripting by adding either of these to config/elasticsearch.yml:
and it works. However, on a development server that a colleague gave me, I did the same thing and dynamic scripting still doesn't work (Error is: QueryParsingException[[visualsearch_cuong] script_score the script could not be loaded]; nested: ScriptException[dynamic scripting for [groovy] disabled]; ). There're quite many indexes on that server (including my index) and the Elasticsearch version is 1.7.2.
I'm pretty new to Elasticsearch. What could be wrong? Thanks