Find comprehensive info about the aggregation you are going to implement here
Define aggregation in zio.elasticsearch.aggregation.Aggregations
Define the public method that represents aggregation in the zio.elasticsearch.ElasticAggregation object, add scaladoc and website documentation for it
Support "withAgg", "withSubAgg" in the zio.elasticsearch.aggregation package, if possible
Provide unit tests in the zio.elasticsearch.ElasticAggregationSpec to confirm behavior
Provide integration tests (it module) in the zio.elasticsearch.HttpExectorSpec to confirm the behavior
😇 Feel free to extend other tests as well
😊 Feel free to address any follow-up issue either for the aggregation you are implementing or implemented one already
Note: You can use #95 as a reference. If you feel that the pull request size is growing out of control, feel free to split it but make sure to link this issue in each of the related PRs.
Aggregations
Tips
zio.elasticsearch.aggregation.Aggregations
zio.elasticsearch.ElasticAggregation
object, add scaladoc and website documentation for itzio.elasticsearch.aggregation
package, if possiblezio.elasticsearch.ElasticAggregationSpec
to confirm behaviorit
module) in thezio.elasticsearch.HttpExectorSpec
to confirm the behaviorNote: You can use #95 as a reference. If you feel that the pull request size is growing out of control, feel free to split it but make sure to link this issue in each of the related PRs.