SOLR-13139: removing illegal date range syntax from the ref guide.

This commit is contained in:
Mikhail Khludnev 2019-01-19 20:30:53 +03:00
parent f140971bdf
commit c51838479a
1 changed files with 2 additions and 1 deletions

View File

@ -60,7 +60,8 @@ These are valid queries: +
Solr's `DateRangeField` supports the same point in time date syntax described above (with _date math_ described below) and more to express date ranges. One class of examples is truncated dates, which represent the entire date span to the precision indicated. The other class uses the range syntax (`[ TO ]`). Here are some examples:
* `2000-11` The entire month of November, 2000.
* `2000-11T13` Likewise but for an hour of the day (1300 to before 1400, i.e., 1pm to 2pm).
* `1605-11-05` The Fifth of November.
* `2000-11-05T13` Likewise but for an hour of the day (1300 to before 1400, i.e., 1pm to 2pm).
* `-0009` The year 10 BC. A 0 in the year position is 0 AD, and is also considered 1 BC.
* `[2000-11-01 TO 2014-12-01]` The specified date range at a day resolution.
* `[2014 TO 2014-12-01]` From the start of 2014 till the end of the first day of December.