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:44:06 UTC

[lucene-solr] branch branch_7x 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 branch_7x
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git


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

commit 8cb12793818b650430e34c1f39c493c7889a19cb
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.