Elasticsearch: Using Collections class method in groovy script

Hi All,

I am trying to use Collections class for some processing to create an entity centric index. But when I use the methods of collections class I get the below error:

Caused by: groovy.lang.MissingPropertyException: No such property: Collections for class

However, my code runs in grrovy compiler the way I want it to. Any idea why this is coming up and how I can solve it.
Thanks in advance.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.