Scripting capabilities of Elasticsearch