You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by mk...@apache.org on 2019/01/19 17:42:09 UTC

[lucene-solr] branch master updated: SOLR-13139: removing illegal date range syntax from the ref guide.

This is an automated email from the ASF dual-hosted git repository.

mkhl pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git


The following commit(s) were added to refs/heads/master by this push:
     new c518384  SOLR-13139: removing illegal date range syntax from the ref guide.
c518384 is described below

commit c51838479a83cbc4956ad660712f6e06dd732ff8
Author: Mikhail Khludnev <mk...@apache.org>
AuthorDate: Sat Jan 19 20:30:53 2019 +0300

    SOLR-13139: removing illegal date range syntax from the ref guide.
---
 solr/solr-ref-guide/src/working-with-dates.adoc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/solr/solr-ref-guide/src/working-with-dates.adoc b/solr/solr-ref-guide/src/working-with-dates.adoc
index 7a42909..c86eaa1 100644
--- a/solr/solr-ref-guide/src/working-with-dates.adoc
+++ b/solr/solr-ref-guide/src/working-with-dates.adoc
@@ -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.