Thanks for your quick response,, I am trying but still no success. Can you please provide me any example by using the max aggregation value in filter aggregation script, as I mentioned in question ?
I have tried like above but getting exception:
"reason": {
"type": "script_exception",
"reason": "failed to run inline script [valueParam> 50 && valueParam< 100] using lang [groovy]",
"caused_by": {
"type": "class_cast_exception",
"reason": "java.lang.Integer cannot be cast to java.lang.String"
}
}
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.