O'Reilly logo
  • Garrett Stibb thinks this is interesting:

Using the script fields

From

Cover of Elasticsearch Server Second Edition

Note

Need to turn on scripts. One way is adding "script.disable_dynamic: false" to the elasticsearch.yml config file.