MVEL to Groovy

I'm trying to upgrade from ES 1.1.1 to ES 1.4.0. I need to updated my .MVEL
scripts to groovy so in my Java code I did this:

updateRequestBuilder.setScript(scriptValue,
ScriptService.ScriptType.INLINE);
updateRequestBuilder.setScriptLang("groovy");

My unit tests are failing which makes me thing the script is no longer
being applied. Am I doing this correctly? Any ideas on how best to debug if
the script is being applied?

--
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/eb602917-d3a5-49c1-bbac-57ceeebde742%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.