@@ -171,7 +171,7 @@ input Elastic_AggsDateRange_50 {
171171
172172 # Date Format /Patter . Eg \\"MM -yyy \\" returns \\"08-2012\\". [JodaDate ](http :// www.joda.org/joda-time/apidocs/org/joda/time/format/DateTimeFormat.html)
173173 format : String
174- ranges : [Elastic_AggsDateRange_50 ]
174+ ranges : [Elastic_DateRange_50 ]
175175
176176 # Time zones may either be specified as an ISO 8601 UTC offset (e .g . +01:00 or
177177 # -08:00) or as one of the time zone ids from the [TZ
@@ -546,6 +546,21 @@ input Elastic_CommonsScript_50 {
546546 file : String
547547}
548548
549+ # Date range where \` from\` value includes and \` to\` value excludes.
550+ input Elastic_DateRange_50 {
551+ # The expression starts with an anchor date , which can either be now , or a date
552+ # string ending with || . Eg \` 2015-01-01||+1M/d\` means 2015-01-01 plus one month,
553+ # rounded down to the nearest day. Or \` now+1h+1m\` . The supported time units: y,
554+ # M, w, d, h, m, s
555+ from: String
556+
557+ # The expression starts with an anchor date, which can either be now, or a date
558+ # string ending with ||. Eg \` 2015-01-01||+1M/d\` means 2015-01-01 plus one month,
559+ # rounded down to the nearest day. Or \` now+1h+1m\` . The supported time units: y,
560+ # M, w, d, h, m, s
561+ to: String
562+ }
563+
549564# Float range where \` from\` value includes and \` to\` value excludes.
550565input Elastic_FloatRange_50 {
551566 from : Float
@@ -652,18 +667,18 @@ input Elastic_Query_50 {
652667# boolean clauses , each clause with a typed occurrence . [Documentation ](https :// www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-bool-query.html)
653668input Elastic_QueryBool_50 {
654669 # The clause (query ) must appear in matching documents and will contribute to the score.
655- must: Elastic_Query_50
670+ must: [ Elastic_Query_50]
656671
657672 # The clause (query ) must appear in matching documents. However unlike must the
658673 # score of the query will be ignored. Filter clauses are executed in filter
659674 # context, meaning that scoring is ignored and clauses are considered for caching.
660- filter: Elastic_Query_50
675+ filter: [ Elastic_Query_50 ]
661676
662677 # The clause (query ) should appear in the matching document . In a boolean query
663678 # with no must or filter clauses , one or more should clauses must match a
664679 # document. The minimum number of should clauses to match can be set using the
665680 # minimum_should_match parameter.
666- should: Elastic_Query_50
681+ should: [ Elastic_Query_50 ]
667682
668683 # The minimum number of should clauses to match .
669684 minimum_should_match : String
@@ -672,7 +687,7 @@ input Elastic_QueryBool_50 {
672687 # executed in filter context meaning that scoring is ignored and clauses are
673688 # considered for caching . Because scoring is ignored , a score of 0 for all
674689 # documents is returned.
675- must_not: Elastic_Query_50
690+ must_not: [ Elastic_Query_50 ]
676691 boost : Float
677692}
678693
0 commit comments