Is sequence-numbers support merged in?

Hello,
there's Github issue about adding – can anyone correct me if I'm wrong – automatically generated numbers that do what in MySQL is done with column "id integer primary key autoincrement". Is that true, this support is merged and available?

I want to store log messages to elasticsearch. Such logs are ordered, so I think I need the "autoincrement"-like number. Is my approach correct, or should I use different technique to handle logs?

How to use _seq_no? I cannot catch a consistent view on it, and isn't sure if Github ticket is for the same thing.

Sequence numbers are at the operation level (not document level) in Elasticsearch and does not at all behave like automatically generated numbers/ids in relational databases. They are instead used to order and keep track of operations so replication and recovery can be made more efficient.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.