php - script error for elasticsearch Version 1.2.1 -
i getting error when try run script.
{"error":"remotetransportexception[[fin][inet[/192.168.1.127:9300]][update]]; nested: elasticsearchillegalargumentexception[failed execute script]; nested: scriptexception[scripts of type [inline], operation [update] , lang [groovy] disabled]; ","status":400}
i find in elasticsearch.yml
, have configure disable, if use version 1.4.3 or more, using elasticsearch version 1.2.1, automatically enabled.
script.disable_dynamic: false
so how can fix issue. know how solve problem?
in es 1.6, need use following config parameters:
script.inline: on script.indexed: on
try out.
ps: not use versions prior 1.3 anymore. if can upgrade 1.6 @ minimum.
Comments
Post a Comment