I'm using elasticsearch version 7.2.0 and implementing in my application the optimistic concurrency control with sequence number and primary term parameters.
As I understand, before these two parameters were introduiced, optimistic concurrency control was implemented wit hversion parameter.
So, these sequence number and primary term are meant to replace the version parameter (at least for internal versioning) .
Using Java Highl Lever REST client I've noticed in the code and here in the documentation:
that the GetRequest api still provides a parameter to use old document version parameter, but not for sequence number and primary term.
I think I maybe have misunderstood the differences betweend the old internal version vs. sequence and primary term.
Is this api incomplete or am I missing something?