I have a SearchSourceBuilder which has all blocks like Query,From, Size, Aggregations etc. But later I want to remove only the Aggregations blocks for some use case fully before sending the DSL to ES.
Example, I need to remove the entire aggregations block from the SearchSourceBuilder from the entire DSL