Add support for aggregation parameters for /posts/search