In my query I sort by score, so the most relevant results are first. I'd like to be able to paginate this, and
search_after is apparently the best way for my use case.
search_after doesn't seem to let you use
_score as a sort field. I'd need to sort by something like
_id or whatever which is not good, because then in the initial search the results are ordered by id and not relevance.
What's the correct way to use search_after for pagination while keeping the results ordered by relevance?