lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Renuka Srishti <renuka.srisht...@gmail.com>
Subject Re: TimeZone issue
Date Fri, 24 Nov 2017 05:00:12 GMT
Yes, we have TZ parameter for that which worked only for date math. I need
to convert the date time zone on the client side.

Thanks
Renuka Srishti

On Thu, Nov 16, 2017 at 8:51 PM, Shawn Heisey <apache@elyograg.org> wrote:

> On 11/16/2017 4:54 AM, Renuka Srishti wrote:
>
>> Thanks for your response Shawn. I know it deals with UTC only, but it will
>> be great if we can change the date timeZone in solr response. As I am
>> using
>> Solr CSV feature and it will be helpful if the date field in the CSV
>> result
>> can convert into client TimeZone. Please suggest if you have any alternate
>> for this.
>>
>
> As I said before, I do not think that Solr will use timezones for date
> display -- ever.  Solr does support timezones in certain circumstances, but
> I'm pretty sure that it is *only* to correctly support date math -- so Solr
> knows what time each day starts for date rounding like NOW/DAY and
> NOW/WEEK.  I have never heard of any feature that applies timezones to date
> information in responses.
>
> Timezone conversion of dates in Solr responses is something you need to do
> in the client, and should be trivial for most web development programming
> languages.
>
> Thanks,
> Shawn
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message