Hi,

I have date field being indexed into solr. in my schema i have the following
code for it, 

<field name="createdDate" type="date" indexed="true" stored="true"
required="true" />

but in java, i get the following error when i search using solr:

 java.lang.ClassCastException: java.lang.String cannot be cast to
java.util.Date

Why is solr returning me String back where i have type=date in schema.xml?

Thanks. 



--
View this message in context: 
http://lucene.472066.n3.nabble.com/solr-tdate-field-tp4056069.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to