Hash function in painless

Hi guys,

I'm new to ES painless script. Is there any approach to do MD5 hash on certain fields in painless? I checked the API reference but found no such API. Or what the most efficient approach is if I want to do run MD5 hash on the fields? E.g. I have a field called a and a user provided string called b, I want to aggregate on md5(a+b) during query...

Thanks in advance!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.