Search after - unique sort fields

I'm trying to use search after pagination in my project, using index with over 10M records.

I wonder what's the easiest way to obtain unique search_after parameter if i don't mind about sort order and I don't want to define it?
Using _doc or _seq_no field only generates duplicates in an adequate number as number of shards.
Does using combination of thoose two fields guarantees uniqueness?

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