You need to activate it in mapping: http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/mapping-timestamp-field.html#mapping-timestamp-field
Then you should be able to query and order by this field. -- David Pilato | Technical Advocate | Elasticsearch.com @dadoonet | @elasticsearchfr Le 17 janvier 2014 at 09:59:17, Steinar Bang ([email protected]) a écrit: Is it possible to do a "tail"-like query on an ES index? Ie. find the newest entries, when I don't know the time stamp of the indexed items? (It's actually the time stamp I'm looking for, as well as the actual data indexed at that point in time) Thanks! - Steinar -- 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/upzcvbxj6l1x.fsf%40dod.no. For more options, visit https://groups.google.com/groups/opt_out. -- 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/etPan.52d8f1e2.3a95f874.dc5%40MacBook-Air-de-David.local. For more options, visit https://groups.google.com/groups/opt_out.
