Define aggregations from JSON with Elasticsearch

Description

There are way too many aggregations for us to support them all through the query DSL.

To address use cases beyond the most simple ones, we need a way for users to define aggregations using JSON, and receive a JSON-formatted string as a result.

Something like:

As a second step, we may want to allow users to pass an object that will extract data from the response:

We will need a similar feature for projections, but these will be a bit harder since there are many ways to project.

Environment

None

Status

Assignee

Yoann Rodière

Reporter

Yoann Rodière

Labels

None

Suitable for new contributors

None

Feedback Requested

None

Components

Fix versions

Priority

Major
Configure