mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-24 15:17:30 -04:00
[DOCS] Adds missing_bucket setting to transform APIs (#90111)
This commit is contained in:
parent
3ed7a04d22
commit
45646b78e2
3 changed files with 7 additions and 3 deletions
|
@ -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[]
|
||||
|
||||
|
|
|
@ -297,7 +297,8 @@ POST _transform/_preview
|
|||
"group_by": {
|
||||
"customer_id": {
|
||||
"terms": {
|
||||
"field": "customer_id"
|
||||
"field": "customer_id",
|
||||
"missing_bucket": true
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
@ -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
|
||||
|
||||
|
@ -309,7 +308,8 @@ PUT _transform/ecommerce_transform1
|
|||
"group_by": {
|
||||
"customer_id": {
|
||||
"terms": {
|
||||
"field": "customer_id"
|
||||
"field": "customer_id",
|
||||
"missing_bucket": true
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue