For a particular query type, I get many many documents with the same top score. I want to randomly pull 10 documents each time this query is called. So users that do the same search will get different results each time. This does sound like a really bad idea but it actually makes business sense.
My thinking right now is to get all documents from the index that have the top score, and then randomly pick 10 from those.
How do I do this? Is there another way?
Please note that I still want the top scores to remain on top, just shuffled. I do not want to include the lower scores in the shuffle nor exclude them from appearing at the bottom of the list.
Many thanks!