elasticsearch scripts of type [inline], operation [update] and lang [groovy] are disabled
来源:互联网 发布:逆火刷机软件 编辑:程序博客网 时间:2024/05/13 07:52
当我执行:
curl -XPOST 'localhost:9200/test/type1/1/_update' -d '{ "script" : "ctx._source.text = \"some text\""
}'
出现了elasticsearch scripts of type [inline], operation [update] and lang [groovy] are disabled这样的错误
解决方法在elasticsearch.yml 里添加
script.inline: onscript.indexed: on
重启即可
原文:
Exception in thread "main" java.lang.IllegalArgumentException: script.disable_dynamic is not a supported setting, replac e with fine-grained script settings. Dynamic scripts can be enabled for all languages and all operations by replacing script.disable_dynamic: false
with s cript.inline: on
and script.indexed: on
in elasticsearch.yml
0 0
- elasticsearch scripts of type [inline], operation [update] and lang [groovy] are disabled
- scripts of type [inline], operation [update] and lang [groovy] are disabled
- scripts of type [inline], operation [update] and lang [groovy] are disabled
- scripts of type [inline], operation [update] and lang [groovy] are disabled
- ScriptException[scripts of type [inline], operation [update] and lang [groovy] are disabled]
- scripts of type [inline], operation [aggs] and lang [groovy] are disabled
- Elasticsearch 1.7.3 groovy are disabled
- 使用elasticsearch,Elasticsearch Scripts disabled
- 打开elasticsearch groovy inline
- [ElasticSearch] mappings and type
- use of '@import' when modules are disabled
- 【MonogoDB】The high update operation of MongoDB
- A library of DHTML and Ajax scripts
- iOS之use of '@import' when modules are disabled
- Code insight and other background tasks are disabled.
- Running standalone Groovy scripts
- File xxx.ps1 cannot be loaded because the execution of scripts is disabled on this system
- windows powershell错误 because the execution of scripts is disabled on this system
- Android SQLite的连接和基本操作
- java日志commons-logging/log4j/slf4j/logBack需要知道的几件事
- iOS的基础网络编程
- Java图片处理的类库:SimpleImage
- JQuery总结
- elasticsearch scripts of type [inline], operation [update] and lang [groovy] are disabled
- echo off
- Servlet
- Eclipse黑色风格全局界面
- Redis学习笔记(2)-新建虚拟电脑,安装系统CentOSMini
- CSS和JS链接地址中带的问号是做什么的
- C/C++数据结构
- java7 实用的新特性:编程技巧
- 警告: No configuration found for the specified action: 'upload' in namespace: ''. Form action . . .