I'm trying to use Groovy string methods, such as replaceAll(); in painless, but keep getting compile errors.
Heres my script:
String a = doc[Industry.keyword].value;
String t = a.replaceAll(","," ");
I'm trying to remove all commas from the field. Are all groovy string methods supported for painless?