So when i run this script,
doc['date_updated'].value.getMillis() > params.one_day ? 1.9
i get the error
dynamic method [java.lang.Long, getMillis/0] not found
Im not sure what this error means or if im missing something from installing java or elasticsearch.
im using elasticsearch 6.8.12.
I added the variable JAVA_HOME and assigned it the path to the java executable in the elasticsearch-env but that didnt seem to do much.
If anyone can just help me understand this error.
Any help you be greatly appreciated