我正在测试spring boot应用程序中的elasticsearch函数。
spring-boot:1.5.2.RELEASE
在测试期间,我使用默认嵌入弹性搜索
运行测试代码时出现以下错误。
Caused by: java.lang.IllegalArgumentException: script_lang not supported [groovy]
at org.elasticsearch.script.ScriptService.getScriptEngineServiceForLang(ScriptService.java:212)
at org.elasticsearch.script.ScriptService.compile(ScriptService.java:242)
at org.elasticsearch.script.ScriptService.search(ScriptService.java:456)
at org.elasticsearch.index.query.functionscore.script.ScriptScoreFunctionParser.parse(ScriptScoreFunctionParser.java:104)
... 20 more