SolrJ and Solr 4.0 | doc.getFieldValue() returns String instead of Date

2013-01-08 Thread uwe72
A Lucene 4.0 document returns for a Date field now a string value, instead of a Date object. field name=ModuleImpl.versionAsDate view=Datenstand type=date Solr4.0 -- 2009-10-29T00:00:009Z Solr3.6 -- Date instance Can this be set somewhere in the config? I prefer to receive a date instance

RE: SolrJ and Solr 4.0 | doc.getFieldValue() returns String instead of Date

2013-01-08 Thread Darren Govoni
SimpleDateFormat df= new SimpleDateFormat(-MM-dd'T'hh:mm:ss.S'Z'); Date dateObj = df.parse(2009-10-29T00:00:009Z); brbrbr--- Original Message --- On 1/8/2013 09:34 AM uwe72 wrote:brA Lucene 4.0 document returns for a Date field now a string value, instead of bra Date object. br