Skip to content

Commit

Permalink
[console] autocomplete for extended_bounds
Browse files Browse the repository at this point in the history
  • Loading branch information
jbudz committed Nov 7, 2017
1 parent 482e95d commit e39582f
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/core_plugins/console/api_server/es_5_0/aggregations.js
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,14 @@ var rules = {
},
"field": "{field}",
"interval": 50,
"extended_bounds": {
"__template": {
"min": 0,
"max": 50
},
"min": 0,
"max": 50
},
"min_doc_count": 0,
"order": {
__template: {
Expand All @@ -208,6 +216,14 @@ var rules = {
"field": "{field}",
"interval": { __one_of: ["year", "quarter", "week", "day", "hour", "minute", "second"] },
"min_doc_count": 0,
"extended_bounds": {
"__template": {
"min": "now/d",
"max": "now/d"
},
"min": "now/d",
"max": "now/d"
},
"order": {
__template: {
"_key": "asc"
Expand Down

0 comments on commit e39582f

Please sign in to comment.