{"action":"reopened","issue":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/10491","labels_url":"https://api.github.com/repos/elastic/elasticsearch/issues/10491/labels{/name}","comments_url":"https://api.github.com/repos/elastic/elasticsearch/issues/10491/comments","events_url":"https://api.github.com/repos/elastic/elasticsearch/issues/10491/events","html_url":"https://github.com/elastic/elasticsearch/issues/10491","id":67170423,"number":10491,"title":"Change default script language to expressions","user":{"login":"rjernst","id":289412,"avatar_url":"https://avatars.githubusercontent.com/u/289412?v=3","gravatar_id":"","url":"https://api.github.com/users/rjernst","html_url":"https://github.com/rjernst","followers_url":"https://api.github.com/users/rjernst/followers","following_url":"https://api.github.com/users/rjernst/following{/other_user}","gists_url":"https://api.github.com/users/rjernst/gists{/gist_id}","starred_url":"https://api.github.com/users/rjernst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rjernst/subscriptions","organizations_url":"https://api.github.com/users/rjernst/orgs","repos_url":"https://api.github.com/users/rjernst/repos","events_url":"https://api.github.com/users/rjernst/events{/privacy}","received_events_url":"https://api.github.com/users/rjernst/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/elastic/elasticsearch/labels/:Scripting","name":":Scripting","color":"009800"},{"url":"https://api.github.com/repos/elastic/elasticsearch/labels/breaking","name":"breaking","color":"ff0000"},{"url":"https://api.github.com/repos/elastic/elasticsearch/labels/discuss","name":"discuss","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-04-08T16:40:28Z","updated_at":"2015-09-10T17:26:50Z","closed_at":null,"body":"Since we have non sandboxable dynamic scripts disabled by default, and the sandbox is being removed for groovy (#10480), I think we should change the default language to expression scripts.  This will at least be a better behavior out-of-the-box for users with simple scripts (e.g. #10474).\r\n\r\nWe should also consider moving groovy back to a separate plugin (separate issue, but just mentioning here). In order to make expressions the default, we will need to make the lucene expression deps non-optional (and possibly shade in asm so as not to guard against conflicts).  Having groovy and expressions in the default setup would then seem overkill (at least at some point in the future, when expressions become more powerful)."}}