Hi there,
This is what I am using in scripted fields
def sorDate = new Date().getTime() - doc['sor_idate'].value;
if (sorDate > 5){
return "crtical"
};
The field is defined as below and I have an error and cannot figure out what is wrong, would deeply appreciate the help. Thanks
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.