Multiple `sort` using with only one `search_after`

Hi everyone,

I sort my results on field name witch is not unique, and the field uuid (unique id):
"sort": [ { "name": {"order": "desc"} }, { "uuid": {"order": "asc"} } ]
But I would like to search after the field uuid only:
"search_after": [ "4dace013-8467-447c-bf4a-13eca37aab35" ]

Is there a way to do that?

The only solution I found, is to load the document before the request and to search after with the complete sorted fields :
"search_after": [ "The last name", "4dace013-8467-447c-bf4a-13eca37aab35" ]


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