How to get the top hits of the search results?

Can any one can help how to get the top hits list from the search results that they are searched.

1 Like

Hi,

By default elastic returns results sorted by relevancy (score)

I am interested to know the answer for this one too. Have been trying many ways, but no luck