Re: [bulk]: Re: Dates and DataImportHandler

2017-09-21 Thread Jamie Jackson
has an idea why this NPE occurs it would be great. Do I > perhaps have to add something to solrconfig.xml? > > Thanks, > Birgit > > > > -Original Message- > From: Jamie Jackson [mailto:jamieja...@gmail.com] > Sent: Tuesday, September 19, 2017 6:54 PM > To: s

RE: [bulk]: Re: Dates and DataImportHandler

2017-09-21 Thread Mannott, Birgit
e.org Subject: [bulk]: [bulk]: Re: Dates and DataImportHandler As far as I understood, you can use the locale so that DIH saves the last index time for the given time zone and not for UTC. So if you set the locale according to the timezone of your DB you don't need to convert dates for comparison

[bulk]: Re: Dates and DataImportHandler

2017-09-21 Thread Mannott, Birgit
lr-user@lucene.apache.org Subject: [bulk]: Re: [bulk]: Dates and DataImportHandler FWIW, I know mine worked, so maybe try: I can't conceive of what the locale would possibly do when a dateFormat is specified, so I omitted the attribute. (Maybe one can specify dateFormat *or *locale--it se

Re: [bulk]: Dates and DataImportHandler

2017-09-19 Thread Jamie Jackson
git > > > > -Original Message- > From: Jamie Jackson [mailto:jamieja...@gmail.com] > Sent: Tuesday, September 19, 2017 3:42 AM > To: solr-user@lucene.apache.org > Subject: [bulk]: Dates and DataImportHandler > > Hi folks, > > My DB server is on America/Chica

RE: [bulk]: Dates and DataImportHandler

2017-09-19 Thread Mannott, Birgit
: Jamie Jackson [mailto:jamieja...@gmail.com] Sent: Tuesday, September 19, 2017 3:42 AM To: solr-user@lucene.apache.org Subject: [bulk]: Dates and DataImportHandler Hi folks, My DB server is on America/Chicago time. Solr (on Docker) is running on UTC. Dates coming from my (MariaDB) data source

Dates and DataImportHandler

2017-09-18 Thread Jamie Jackson
Hi folks, My DB server is on America/Chicago time. Solr (on Docker) is running on UTC. Dates coming from my (MariaDB) data source seem to get translated properly into the Solr index without me doing anything special. However when doing delta imports using last_index_time ( http://wiki.apache.org/