It is time to say goodbye: This version of Elastic Cloud Enterprise has reached end-of-life (EOL) and is no longer supported.
The documentation for this version is no longer being maintained. If you are running this version, we strongly advise you to upgrade. For the latest information, see the current release documentation.
RangeQuery
editRangeQuery
editMatches documents with fields that have terms within a certain range.
Properties
edit-
boost
(number
asfloat
) - An optional boost value to apply to the query.
-
format
(string
) - Formatted dates will be parsed using the format specified on the date field by default, but it can be overridden by passing the format parameter.
-
gt
(object
) - Greater-than
-
gte
(object
) - Greater-than or equal to
-
lt
(object
) - Less-than
-
lte
(object
) - Less-than or equal to.
-
time_zone
(string
) - Dates can be converted from another timezone to UTC either by specifying the time zone in the date value itself (if the format accepts it), or it can be specified as the time_zone parameter.
Example
edit{ "boost" : 0.1, "format" : "string", "gt" : {}, "gte" : {}, "lt" : {}, "lte" : {}, "time_zone" : "string" }