mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
Always set output.params.min_doc_count instead of leaving Elasticsearch default (which changed). Ref: 5665
This commit is contained in:
parent
f2c7abecbe
commit
5eb43cf70b
1 changed files with 2 additions and 0 deletions
|
@ -40,6 +40,8 @@ export default function HistogramAggDefinition(Private) {
|
|||
write: function (aggConfig, output) {
|
||||
if (aggConfig.params.min_doc_count) {
|
||||
output.params.min_doc_count = 0;
|
||||
} else {
|
||||
output.params.min_doc_count = 1;
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue