It's right there in the reference guide: https://cwiki.apache.org/confluence/display/solr/Copying+Fields
But that's not what I was talking about, you've got it backwards <copyField source="date_created" dest="date_created_t"/> <copyField source="date_created" dest="date_created_s"/> What you haven't really told us is why the data is being sent to date_created in the first place. How are you parsing the files? Why not just send the date to the right field in the first place? Best, Erick On Sat, Jul 29, 2017 at 10:47 PM, MKrishna <madhuri.d...@robertbird.com> wrote: > date_created field is being indexed as a string and text general making it > difficult to apply date range queries > > date_created_s and date_created_t are the extensions and trying to copy them > to *_tdate is throwing an error. > > "copyFields can take glob-type source specifications if that helps. " > > Can you give me an example for this as I want the text to be queried with > date queries? > > Thanks, > Krishna > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Copy-field-from-string-to-date-tp4348173p4348241.html > Sent from the Solr - User mailing list archive at Nabble.com.