Re: How to use TZ parameter in a query

2016-04-06 Thread Chris Hostetter
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... https://cwiki.apache.or

Re: How to use TZ parameter in a query

2016-04-06 Thread Alessandro Benedetti
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

Re: How to use TZ parameter in a query

2016-04-06 Thread Bogdan Marinescu
I understand. Would be nice though :) Thanks. On 04/06/2016 11:26 AM, jimi.hulleg...@svensktnaringsliv.se wrote: I think that this parameter is only used to interpret the dates provided in the query, like query filters. At least that is how I interpret the wiki text. Your interpretation makes

RE: How to use TZ parameter in a query

2016-04-06 Thread jimi.hullegard
I think that this parameter is only used to interpret the dates provided in the query, like query filters. At least that is how I interpret the wiki text. Your interpretation makes more sense in general though, it would be nice if it was possible to modify the timezone for both the query and the