Presorting results


Imagine that we have an external algorithm that gives us the exact ordenation that we want on a set of documents. How would I query elastic to retrieve N documents exactly on that order?

Is the only solution include this 'score' in the index as a new field or could we ask to Elastic a list of ids in a specific order?


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