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 <apa...@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 > >