You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by GitBox <gi...@apache.org> on 2022/03/29 22:17:11 UTC

[GitHub] [solr] anshumg commented on a change in pull request #774: SOLR-16125 Make tutorial commands copyable

anshumg commented on a change in pull request #774:
URL: https://github.com/apache/solr/pull/774#discussion_r837953151



##########
File path: solr/solr-ref-guide/modules/getting-started/pages/tutorial-films.adoc
##########
@@ -340,13 +352,13 @@ If we construct a query that looks like this:
 
 [source,bash]
 curl 'http://localhost:8983/solr/films/select?q=*:*&rows=0'\
-    '&facet=true'\
-    '&facet.range=initial_release_date'\
-    '&facet.range.start=NOW-20YEAR'\
-    '&facet.range.end=NOW'\
-    '&facet.range.gap=%2B1YEAR'
+'&facet=true'\
+'&facet.range=initial_release_date'\
+'&facet.range.start=NOW/YEAR-25YEAR'\
+'&facet.range.end=NOW'\
+'&facet.range.gap=%2B1YEAR'
 
-This will request all films and ask for them to be grouped by year starting with 20 years ago (our earliest release date is in 2000) and ending today.
+This will request all films and ask for them to be grouped by year starting with 25 years ago (our earliest release date is in 2000) and ending today.

Review comment:
       25 years should be 1997. Any specific reason you switched this to 25 ?




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org