пытаюсь добавить строку в elasticsearch.yml
script.engine.groovy.inline.aggs: on
но elasticsearch 5.0.0 alpha 2 не стартует , что я делаю не так?
"reason": "scripts of type [inline], operation [search] and lang [groovy] are disabled"
{
"query" : {
...
},
"script_fields" : {
"test1" : {
"script" : "doc['my_field_name'].value * 2"
},
"test2" : {
"script" : {
"inline": "doc['my_field_name'].value * factor",
"params" : {
"factor" : 2.0
}
}
}
}
}