I cannot get inline scripted updates to work in the ES5 integration tests (extending from ESIntegTestCase). In the ESIntegTestCase nodeSettings function, scripted updates are enabled:
ESIntegTestCase doesn't load all of the Elasticsearch module by default. It will only load the modules you tell it to. We (try to) use ESIntegTestCase only to test a single module at a time, using REST based testing if we have to test multiple modules at one time. In other words, I suggest not testing scripts with ESIntegTestCase unless you are writing your own script engine. I'd look at https://github.com/alexcojocaru/elasticsearch-maven-plugin
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.