lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bogdan Marinescu <bogdan.marine...@awinta.com>
Subject Re: How to use TZ parameter in a query
Date Wed, 06 Apr 2016 09:57:17 GMT
I understand. Would be nice though :)

Thanks.

On 04/06/2016 11:26 AM, jimi.hullegard@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
more sense in general though, it would be nice if it was possible to modify the timezone for
both the query and the result.
>
> /Jimi
>
> -----Original Message-----
> From: Bogdan Marinescu [mailto:bogdan.marinescu@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#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. The date that
I get back is still in UTC format.
>
> Any ideas what I'm doing wrong?
>
> Thanks


Mime
View raw message