O'Reilly logo

Mastering Elasticsearch 5.x - Third Edition by Bharvi Dixit

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Painless - the new default scripting language

With the release of Elasticsearch 5.0, we can use a new scripting language that has become the default: Painless. It is a simple and secure scripting language available in Elasticsearch by default and does not require any plugin to be installed. Painless is designed specifically for use with Elasticsearch and can safely be used with inline and stored scripting, without worrying about any security issues or configuration changes.

Using Painless as your scripting language

There is not much documentation available on the Painless scripting language yet but according to the Elasticsearch official documentation, Painless syntax is similar to Groovy. Although we will cover how to use Painless with some examples ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required