Необходима включить inline groovy script . Я пробывал добавить script.inline: true и script.indexed: true в elasticsearch.yml но выдает ошибку
? elasticsearch.service - Elasticsearch
Loaded: loaded (/usr/lib/systemd/system/elasticsearch.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Wed 2016-03-23 12:46:48 AMT; 6s ago
Docs:
www.elastic.co
Process: 5963 ExecStart=/usr/share/elasticsearch/bin/elasticsearch -Des.pidfile=${PID_DIR}/elasticsearch.pid -Des.default.path.home=${ES_HOME} -Des.default.path.logs=${LOG_DIR} -Des.default.path.data=${DATA_DIR} -Des.default.path.conf=${CONF_DIR} (code=exited, status=1/FAILURE)
Process: 5961 ExecStartPre=/usr/share/elasticsearch/bin/elasticsearch-systemd-pre-exec (code=exited, status=0/SUCCESS)
Main PID: 5963 (code=exited, status=1/FAILURE)
Mar 23 12:46:48 dev2.masys.loc elasticsearch[5963]: script.inline: true
Mar 23 12:46:48 dev2.masys.loc elasticsearch[5963]: ^
Mar 23 12:46:48 dev2.masys.loc elasticsearch[5963]: ];
Mar 23 12:46:48 dev2.masys.loc elasticsearch[5963]: Likely root cause: expected '', but found BlockMappingStart
Mar 23 12:46:48 dev2.masys.loc elasticsearch[5963]: in 'reader', line 96, column 1:
Mar 23 12:46:48 dev2.masys.loc elasticsearch[5963]: script.inline: true
Mar 23 12:46:48 dev2.masys.loc elasticsearch[5963]: ^
Mar 23 12:46:48 dev2.masys.loc systemd[1]: elasticsearch.service: main process exited, code=exited, status=1/FAILURE
Mar 23 12:46:48 dev2.masys.loc systemd[1]: Unit elasticsearch.service entered failed state.
Mar 23 12:46:48 dev2.masys.loc systemd[1]: elasticsearch.service failed.
Как возможно включить inline scripting в elasticsearch 2.2.0
Я попробывал без пробелов написать но все рабвно не хочет работать