0

Can someone help me ?

I want to set script.disable_dynamic to false in spring-data.elasticsearch.

I'm using spring boot .

2
  • I don't know how to do it. i try this config in my application.yml spring boot config data: elasticsearch: cluster-name: cluster-nodes: properties: scripting.disabled: false path: logs: target/elasticsearch/log data: target/elasticsearch/data http: enabled: true port: 9200 Commented Apr 4, 2016 at 9:23
  • And i 'm still getting this error : nested: ScriptException[dynamic scripting for [groovy] disabled]; }]", Commented Apr 4, 2016 at 9:25

2 Answers 2

1

Thanks guy , i find the solution.

For elasticsearch 1.5 and spring boot , i juste add this line to my spring configuration file application.yml
script.disable_dynamic : false (not scripting.disabled: false)

Sign up to request clarification or add additional context in comments.

Comments

0

If you are using ES 1.6+, you can enable dynamic scripting by updating the following settings that need to be added to the config/elasticsearch.yml file on every node.

script.inline: on
script.indexed: on

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.