Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DOCS] Adds missing_bucket setting to transform APIs #90111

Merged
merged 6 commits into from
Sep 19, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions docs/reference/rest-api/common-parms.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -729,6 +729,9 @@ The following groupings are currently supported:
* <<_histogram,Histogram>>
* <<_terms,Terms>>

The grouping properties can optionally have a `missing_bucket` property. If
it's `true`, documents without a value in the respective `group_by` field are
included. Defaults to `false`.
--
end::pivot-group-by[]

Expand Down
3 changes: 2 additions & 1 deletion docs/reference/transform/apis/preview-transform.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,8 @@ POST _transform/_preview
"group_by": {
"customer_id": {
"terms": {
"field": "customer_id"
"field": "customer_id",
"missing_bucket": true
}
}
},
Expand Down
4 changes: 2 additions & 2 deletions docs/reference/transform/apis/put-transform.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,6 @@ include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=pivot-aggs]
`group_by`:::
(Required, object)
include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=pivot-group-by]
====
//End pivot

Expand Down Expand Up @@ -309,7 +308,8 @@ PUT _transform/ecommerce_transform1
"group_by": {
"customer_id": {
"terms": {
"field": "customer_id"
"field": "customer_id",
"missing_bucket": true
}
}
},
Expand Down