I want to implement the search_after pagination technique, I want to sort out the data using _score and _id. The problem I am facing is that I have built my query using rescore and you can't use the sort and rescore at the same time if the sort contains an extra field other than the _score field. My question how is it possible to implement this pagination technique by adding the two sort fields(_score, _id) in a rescore query?
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.