Is it possible to do a tail query on an index? (find the newest entries?)

2014-01-17 Thread Steinar Bang
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

Re: Is it possible to do a tail query on an index? (find the newest entries?)

2014-01-17 Thread David Pilato
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 |