fullscale / elastic.js

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

Can we use groovy script for aggregations in FullScale #72

Closed awkysam closed 10 years ago

awkysam commented 10 years ago

If we can use the scripting feature please provide an example

mattweber commented 10 years ago

Yes you can, just set the script lang to "groovy" then write groovy code as your script.