mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-08 03:49:38 +00:00
[DOCS] Clarify that "now" cannot be used in date_range
at index time (#52446)
`date_range` fields do not accept `"now"` as a value of either bounds at indexing time. This corrects an error in the range data type mapping docs.
This commit is contained in:
parent
aeb7b777e6
commit
a68fafd64b
@ -54,7 +54,7 @@ PUT range_index/_doc/1?refresh
|
||||
<1> `date_range` types accept the same field parameters defined by the <<date, `date`>> type.
|
||||
<2> Example indexing a meeting with 10 to 20 attendees.
|
||||
<3> Date ranges accept the same format as described in <<ranges-on-dates, date range queries>>.
|
||||
<4> Example date range using date time stamp. This also accepts <<date-math, date math>> formatting, or "now" for system time.
|
||||
<4> Example date range using date time stamp. This also accepts <<date-math, date math>> formatting. Note that "now" cannot be used at indexing time.
|
||||
|
||||
The following is an example of a <<query-dsl-term-query, term query>> on the `integer_range` field named "expected_attendees".
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user