Skip to content

[7.x] [DOCS] Fix range query admon for clarity (#62163) #62171

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 9, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions docs/reference/query-dsl/range-query.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,12 @@ For valid syntax, see <<mapping-date-format,`format`>>.
[WARNING]
====
If a `format` and `date` value are incomplete, {es} replaces any missing year,
month, or date component with the start of
{wikipedia}/Unix_time[Unix time], which is January 1st, 1970.
month, or day component with the
{wikipedia}/Unix_time[Unix epoch], which is January 1st, 1970.

For example, if the `format` value is `dd`, {es} converts a `gte` value of `10`
to `1970-01-10T00:00:00.000Z`.
For example, if the `format` value is `dd`, {es} converts a `gte` value of `22`
to `1970-01-22T00:00:00.000Z`. This date uses `22` as the day of the month but
uses the Unix epoch's year (`1970`) and month (`01`).
====

--
Expand Down