I am building a spring boot query builder for my end users. It looks like from the discussions that I am going to have to unpack the search response before sending. It appears the client appends the class info on the aggregation name, like sterms#categories, making the json string not readable on the web page receiving end. Am I correct?
{
"took": 1892,
"timed_out": false,
"_shards": {
"total": 1232,
"successful": 1232,
"skipped": 1143,
"failed": 0
},
"hits": {
"total": 36694295,
"max_score": 0,
"hits": []
},
"aggregations": {
"sterms#cats": {
"doc_count_error_upper_bound": 86984,
"sum_other_doc_count": 21111557,
"buckets": [...