فهرست منبع

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

Torkel Ödegaard 10 سال پیش
والد
کامیت
57dee76c88
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      public/app/plugins/datasource/elasticsearch/queryBuilder.js

+ 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"
           }