issue in SOLR_TIMEZONE

354 views
Skip to first unread message

Gonch Gonch

unread,
May 18, 2018, 9:23:32 AM5/18/18
to Datafari
Hello,

As default the variable SOLR_TIMEZONE is as UTC in the file solr.in.sh.
But when we change this variable to UTC+2, the dates of the indexed files doesn't change even by restarting Datafari and restarting the job.

Can anyone help me to solve this issue, please ?

Best Regards,

Olivier Tavard

unread,
May 22, 2018, 10:49:18 AM5/22/18
to Datafari
Hello,

This is not related to Solr. In fact whan you index files with MCF, Tika extracts the content and the metadata of the files. For the extracted date, Tika always use UTC timezone.
You can add an update processor in Solr to "add" 2 hours to have the date you want at the end.

Best regards,

Olivier

Gonch Gonch

unread,
May 24, 2018, 10:12:35 AM5/24/18
to Datafari
Hello,

Thanks for the information.
So I must only change the update processor by adding 2 hours in the date.

Best Regards,
Reply all
Reply to author
Forward
0 new messages