Hi, thanks for the answer. It does the same thing. It gaves me data 2 days old
On Wednesday, February 5, 2014 12:39:24 AM UTC-3, Jayesh Bhoyar wrote: > > Hi, > > Can you try following syntax for sorting the date value? > "sort": [ > { > "date_created": { > "order": "desc" > } > } > ] > > Let me know if this solves your problem. > > I was using this syntax succesfully for integer value > > Regards, > Jayesh Bhoyar > http://www.linkedin.com/in/jayeshbhoyar > > -- 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 elasticsearch+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/8358bfc4-6939-4419-8927-aa296fa42745%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.