Pin search results in a specific order

Suppose a search for a query "test" return results based on the relevancy , e.g : Page 1, Page 3, Page 2, Page 4.

Is it possible that we could within a single Elasticsearch query API order the results as
Page 1, Page 2, Page 3, Page 4. Basically pin the Page 2 at the second position of the search results for the given "test" query, overriding the score returned from ElasticSearch

Can we modify the score of page 2 such that it is less than the final score of Page 1 and greater than Page 3? This has to be done for the given query "test". We could further extend the same such that we define the order as Page 1, Page 2, Page 4, Page 3 where multiple pages are pinned to a given order?

Sounds like the feature coming in 7.5.

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