lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hassancrowdc <hassancrowdc...@gmail.com>
Subject solr tdate field
Date Mon, 15 Apr 2013 14:54:41 GMT
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.

Mime
View raw message