can’t
figure out if the JSON facet API support this?
--
View this message in context:
http://lucene.472066.n3.nabble.com/JSON-facet-API-with-date-range-and-TZ-parameter-tp4311140.html
Sent from the Solr - User mailing list archive at Nabble.com.
Please note the exact description of hte property on the URL you
mentioned..
"The TZ parameter can be specified to override the default TimeZone (UTC)
used for the purposes of adding and rounding in date math"
The newer ref guide docs for this param also explain
At the moment, the tz parameter will be used to calculate the UTC date in
the query, based on the tz supplied.
In the index the dates are in UTC.
To show the dates in the same timezone we query, we should implement a
DocTransformer[1] .
This DocTransformer will check for all ( or a subset) of date
Subject: How to use TZ parameter in a query
Hi,
According to the wiki
https://wiki.apache.org/solr/CoreQueryParameters#TZ I can use the TZ param to
specify the timezone.
I tried to make a query and put in the raw section TZ=Europe/Berlin or any
other found in https://en.wikipedia.org/wiki
the result.
/Jimi
-Original Message-
From: Bogdan Marinescu [mailto:bogdan.marine...@awinta.com]
Sent: Wednesday, April 6, 2016 11:20 AM
To: solr-user@lucene.apache.org
Subject: How to use TZ parameter in a query
Hi,
According to the wiki
https://wiki.apache.org/solr/CoreQueryParameters
Hi,
According to the wiki
https://wiki.apache.org/solr/CoreQueryParameters#TZ I can use the TZ
param to specify the timezone.
I tried to make a query and put in the raw section TZ=Europe/Berlin or
any other found in
https://en.wikipedia.org/wiki/List_of_tz_database_time_zones but no
luck. Th
The TZ parameter only applies to "date math" rounding. You haven't used any
date math.
What are you actually trying to accomplish?
Would [* TO NOW] cover your cases?
Or [* TO NOW/DAY+1DAY]?
-- Jack Krupansky
-Original Message-
From: Matt Mitchell
Sent: Sunday, July
Hi,
I'm a little stumped on the TZ param for running a date range query. I've
indexed a single doc with a dateTime field value as "2013-07-08T00:00:00Z".
My query is basically this:
?q=date_dt:[* TO 2013-07-07T23:00:00Z]&TZ=America/New_York
>From what I'm seeing here:
http://wiki.apache.org/s