elasticsearch调用时,报如下错:
scripts of type [inline], operation [aggs] and lang [groovy] are disabled
解决方法:
在es配置文件elasticsearch.yml最后加上如下:
script.inline: on
script.indexed: on
script.file: on
注意:前面要空一格
elasticsearch调用时,报如下错:
scripts of type [inline], operation [aggs] and lang [groovy] are disabled
解决方法:
在es配置文件elasticsearch.yml最后加上如下:
script.inline: on
script.indexed: on
script.file: on
注意:前面要空一格