Explorar o código

feat(elasticsearch): templating terms query should have size set to zero to return all terms, fixes #2827

Torkel Ödegaard %!s(int64=10) %!d(string=hai) anos
pai
achega
57dee76c88

+ 1 - 0
public/app/plugins/datasource/elasticsearch/queryBuilder.js

@@ -174,6 +174,7 @@ function (angular) {
       "1": {
         "terms": {
           "field": queryDef.field,
+          "size": 0,
           "order": {
             "_term": "asc"
           }