How to get maximum double value from ParsedMax elasticseearch

Viewed 72

I older version of Elasticsearch 5.x, we used the class ParsedMax.getValue() method to get maximum Double value from the object as follows

Double val = Double.valueOf(parsedMax.getValue());

Now, we are upgrading to the newer elasticsearch version 8.3.3 and we found this method doesn't exists. How can we achieve this in newer version

1 Answers
Related