we are currently updating our application from Elasticsearch 2.4.1 to Elasticsearch 5.0.0
and in the same process we are updating our integration tests to use the ESIntegTestCase as foundation.
Everything works fine, except for one groovy script function:
IllegalArgumentException[script_lang not supported [groovy]];
Ok, who want's groovy if he can have painless, which is builtin and also the default scripting option.
So I converted the script from groovy to painless, but I still get the same error:
IllegalArgumentException[script_lang not supported [painless]];
What do I have to do to use Painless or Groovy in an ESIntegTestCase?