Re: index sql databases

2016-07-19 Thread Shawn Heisey
On 7/19/2016 4:56 AM, kostali hassan wrote: > I am looking for display for each user: l'utilisateur est crée le > $date à $time not $document-> name est crée le $document->created You'll have to do that in your application that queries Solr, splitting the date and time information that it receive

Re: index sql databases

2016-07-19 Thread kostali hassan
I am looking for display for each user: l'utilisateur est crée le $date à $time not $document-> name est crée le $document->created 2016-07-18 16:48 GMT+01:00 Erick Erickson : > I don't see how that relates to the original > question. > > bq: when I display the field type date I get the > value i

Re: index sql databases

2016-07-18 Thread Erick Erickson
I don't see how that relates to the original question. bq: when I display the field type date I get the value in this forme -MM-dd'T'hh:mm:ss'Z' A regex in the _input_ side will have no effect on what Solr returns. You'd have to use a DocTransformer to change the output on the query side. DIH

Re: index sql databases

2016-07-18 Thread kostali hassan
can we use transformer="RegexTransformer" and set in db_data_config.xml 2016-07-16 18:18 GMT+01:00 Shawn Heisey : > On 7/15/2016 3:10 PM, kostali hassan wrote: > > Thank you Shawn the prb is when I display the field type date I get > > the value in this forme -MM-dd'T'hh:mm:ss'Z' > > Solr o

Re: index sql databases

2016-07-16 Thread Shawn Heisey
On 7/15/2016 3:10 PM, kostali hassan wrote: > Thank you Shawn the prb is when I display the field type date I get > the value in this forme -MM-dd'T'hh:mm:ss'Z' Solr only displays ISO date format for date fields -- an example is 2016-07-16T18:17:08.497Z -- and only in the UTC timezone. If you

Re: index sql databases

2016-07-15 Thread kostali hassan
Thank you Shawn the prb is when I display the field type date I get the value in this forme -MM-dd'T'hh:mm:ss'Z'

Re: index sql databases

2016-07-15 Thread Shawn Heisey
On 7/15/2016 12:42 PM, kostali hassan wrote: > I use solr5.4.1 when a attribute the type date is null (:00:00) > the processus of indexation stop and the log had an Error , how i have > to change in driver="com.mysql.jdbc.Driver" to ignore null date; Last > question how to set dateTimeFormat="