fullscale / elastic.js

A JavaScript implementation of the elasticsearch Query DSL
http://docs.fullscale.co/elasticjs/
MIT License
654 stars 163 forks source link

Add support for script_file and script_id #93

Open marcbc opened 9 years ago

marcbc commented 9 years ago

Currently one can use dynamic scripting using .script() clauses in aggregations, but using a script file or indexed script, as described in Elasticsearch Reference [1.5] » Modules » Scripting doesn't seem to be supported.

ErwanPigneul commented 9 years ago

done here https://github.com/ErwanPigneul/elastic.js