Problems running ES function scripts using the rest API
While trying to run function scripts there are errors related to missing index fields, in this case the "_score" value. The error only happens using the rest API, hitting the ES service directly works. Reference to this ticket https://my.dotcms.com/ticket/dotcms-31
Problem is not the ES jar but the groovy scripting classloader failing to execute the generated script for the scoring function. The current groovy repackaged jar has many problems with the packages names due to the use of field descriptor notation such as "()[Ltype". The mayor problem is a file containing a list of proxy classes, the file is written using writeUTF() in a binary form including the string length and the proxy parameters. This file can't be changed using the current JarJar code.