Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need additional line in config file, to work tutorial's example. #10074

Closed
hasen opened this issue Mar 12, 2015 · 2 comments
Closed

Need additional line in config file, to work tutorial's example. #10074

hasen opened this issue Mar 12, 2015 · 2 comments
Assignees

Comments

@hasen
Copy link

hasen commented Mar 12, 2015

I'm afraid to say, I wrote bellow 'additional line' in ' elasticsearch/config/elasticsearch.yml
', to work tutorial's example about 'Updating Documents' by 'script'.
So, it is needed to add an explanation in tutorial.

// additional line
script.groovy.sandbox.enabled: true

// error
{
"error" : "ElasticsearchIllegalArgumentException[failed to execute script]; nested: ScriptExceptio
n[dynamic scripting for [groovy] disabled]; ",
"status" : 400
}

@javanna javanna self-assigned this Mar 19, 2015
@javanna javanna added the >docs General docs changes label Mar 19, 2015
javanna added a commit that referenced this issue Mar 19, 2015
javanna added a commit that referenced this issue Mar 19, 2015
javanna added a commit that referenced this issue Mar 19, 2015
@javanna
Copy link
Member

javanna commented Mar 19, 2015

Thanks @nesah I just added a note mentioning that dynamic scripting needs to be enabled in order for the script based update to work.

rmuir pushed a commit to rmuir/elasticsearch that referenced this issue Mar 19, 2015
@hasen
Copy link
Author

hasen commented Mar 30, 2015

@javanna, thank you very much : )

mute pushed a commit to mute/elasticsearch that referenced this issue Jul 29, 2015
mute pushed a commit to mute/elasticsearch that referenced this issue Jul 29, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants