On my local computer, I enable dynamic scripting by adding either of these to config/elasticsearch.yml: script.disable_dynamic: false
or script.inline: on script.indexed: on
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
I know my question is not very clear because "A lot of things could be wrong", but I honestly don't know what to search. If you need any further information from my server I'll provide. I just want to find out what potentially can cause the problem. Thanks
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.