In my document I have field called created like "2014-07-25T06:02:00", the
mappings is:
created: {
format: dateOptionalTime
type: date
}


Here with the range query on that is fine, but why sort on that field I got:
{
error: ReduceSearchPhaseException[Failed to execute phase [query], [reduce]
]; nested: ClassCastException[java.lang.Long cannot be cast to
org.apache.lucene.util.BytesRef]; 
status: 503
}





--
View this message in context: 
http://elasticsearch-users.115913.n3.nabble.com/Sorting-Problem-ClassCastException-tp4060659.html
Sent from the ElasticSearch Users mailing list archive at Nabble.com.

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/1406330468734-4060659.post%40n3.nabble.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to