Get last indexed document id

Hi,

I have a scenario in which elasticsearch indexing might stop and I need to
continue from that point, so I need to query elasticsearch for the last
indexed document id.

Thanks

--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Hi Ophir,

You could use the timestamp
fieldhttp://www.elasticsearch.org/guide/reference/mapping/timestamp-field/and
do a query, sorting on timestamp descending.

Best regards,
Radu

On Mon, Jul 8, 2013 at 2:25 PM, Ophir Michaeli ophirmichaeli@gmail.comwrote:

Hi,******


I have a scenario in which elasticsearch indexing might stop and I need to
continue from that point, so I need to query elasticsearch for the last
indexed document id.****


Thanks****

--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
http://sematext.com/ -- ElasticSearch -- Solr -- Lucene

--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.