While using Elastic Search it initializes variables which are not mentioned

I am using Java DSL to make elastic query, But when I
AggregationBuilder aggregationBuilder = AggregationBuilders.avg("age").field("10");
The String output is this. Can I stop the initialization of not mentioned variables.

#aggregations" : {
"age_grouping" : {
"terms" : {
"field" : "age",
"size" : 10,
"shard_size" : -1,
"min_doc_count" : 1,
"shard_min_doc_count" : 0,
"show_term_doc_count_error" : false,
"order" : [
{
"_count" : "desc"
},
{
"_term" : "asc"
}
]
}`

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