lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jack Krupansky" <>
Subject Re: solr tdate field
Date Mon, 15 Apr 2013 15:39:16 GMT
Check your "date" field type to make sure it really is "solr.DateField" or 

Then check whether you have a function query with an "ms" function that 
references a non-TrieDateField.

-- Jack Krupansky

-----Original Message----- 
From: hassancrowdc
Sent: Monday, April 15, 2013 10:54 AM
Subject: solr tdate field


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

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


View this message in context:
Sent from the Solr - User mailing list archive at 

View raw message