Possibly, because it's not provided in the _source, or just use this:
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/mapping-timestamp-field.html#_path_2

--

Itamar Syn-Hershko
http://code972.com | @synhershko <https://twitter.com/synhershko>
Freelance Developer & Consultant
Author of RavenDB in Action <http://manning.com/synhershko/>


On Fri, Jun 13, 2014 at 11:26 AM, Stefan Eberl <cpppw...@gmail.com> wrote:

>
>
> On Thursday, June 12, 2014 6:52:16 PM UTC+2, Itamar Syn-Hershko wrote:
>>
>> This is weird. Are you sure what you are seeing is not overridden
>> documents (can happen if you specify the ID yourself)? Can you add the
>> _timestamp field to the results and verify the documents are indeed not
>> sorted by _timestamp?
>>
> The id is also automatically generated by ES.
> Do i need to store the _timestamp field to be able to retrieve it  using
> "fields" : ["_timestamp"]  in my query?
>
>  --
> 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/c1190f3b-2707-4b1e-9151-5967a7a54733%40googlegroups.com
> <https://groups.google.com/d/msgid/elasticsearch/c1190f3b-2707-4b1e-9151-5967a7a54733%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAHTr4ZvRD%3DbHqX-snqSLV9p%3D%3DA3KEwhP%3DNHAiH6m%2BMz2AhRvAQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to