mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
ES - Support for min_doc_count on group by terms (#7324)
This commit is contained in:
@@ -49,6 +49,10 @@ function (queryDef) {
|
||||
}
|
||||
}
|
||||
|
||||
if (aggDef.settings.min_doc_count !== void 0) {
|
||||
queryNode.terms.min_doc_count = parseInt(aggDef.settings.min_doc_count, 10);
|
||||
}
|
||||
|
||||
if (aggDef.settings.missing) {
|
||||
queryNode.terms.missing = aggDef.settings.missing;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user