elasticsearch调用时,报如下错:
scripts
of type [
inline], operation [aggs]
and lang [groovy] are disabled
解决方法: 在es配置文件elasticsearch.yml最后加上如下:
script.inline:
on
script.indexed:
on
script.
file:
on
注意:前面要空一格
转载请注明原文地址: https://ju.6miu.com/read-2442.html