I'm playing around with groovy scripting.
By checking groovy lang plugin source code I found next steps in code
Code compilation into script class
Script initialization via static method newInstance()
Script execution via calling the code on each document with binding
Now assume I have class declaration in my script. Is it possible to execute
class definition and class object initialization only once, and execute
only a method from this object on each document?
P.S. posting the same on SO
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firstname.lastname@example.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/bb3a9ca6-79fd-4ac6-ac78-ce0c102b9505%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.