Closed
Description
Java API client version
8.13.3
Java version
17.0.11
Elasticsearch Version
8.14.1
Problem description
We do a GeoTile Grid aggregation with two average aggregations.
The curl call and the client java do not return the same json result for the buckets.
Below the curl version response:
{
"key": "10/455/466",
"doc_count": 26,
"avg#avg:AOD565": {
"value": 0.08212617407692308
},
"avg#avg:AOD566": {
"value": null
}
}
And the java client version response:
{
"key": "10/455/466",
"doc_count": 26,
"avg#avg:AOD565": {
"value": 0.08212617407692308
},
"avg#avg:AOD566": {
"value": 0.0
}
}
All the documents in the 10/455/466 grid have no value for AOD566 property.
With CURL the result of the average on this property is null and with the java client the result is 0.0.
There is a way to obtain the result of the curl with the java client ?