Elasticsearch: Support nested aggregation (#62301)
* Add nested query support * Add nested support for alerts * update nested aggregation * cleanup types * Add nested integration test * Move aggdef to nested * fixed merge conflict * fixed lint warning * mark nested-mode experimental --------- Co-authored-by: Ethan Gallant <ethan@ziax.com> Co-authored-by: Ethan J. Gallant <ethan.gallant@acquia.com>
This commit is contained in:
@@ -236,6 +236,11 @@ type TermsAggregation struct {
|
||||
Missing *string `json:"missing,omitempty"`
|
||||
}
|
||||
|
||||
// NestedAggregation represents a nested aggregation
|
||||
type NestedAggregation struct {
|
||||
Path string `json:"path"`
|
||||
}
|
||||
|
||||
// ExtendedBounds represents extended bounds
|
||||
type ExtendedBounds struct {
|
||||
Min int64 `json:"min"`
|
||||
|
||||
Reference in New Issue
Block a user