ScriptException[scripts of type [inline], operation [update] and lang [groovy] are disabled]



    ScriptException[scripts of type [inline], operation [update] and lang [groovy] are disabled]


    这个问题很让人头疼啊,找半天不知道杀错,后来在elasticsearch配置文件里面加上如下语句,执行成功

script.inline: on
script.indexed: on
script.file: on

你可能感兴趣的:(java)