# How to get the top hits of the search results?

**URL:** <https://discuss.elastic.co/t/how-to-get-the-top-hits-of-the-search-results/45305>\
**Category:** Elasticsearch\
**Created:** [March 24, 2016, 5:26am UTC](https://discuss.elastic.co/t/how-to-get-the-top-hits-of-the-search-results/45305 "2016-03-24T05:26:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kartheek91](https://avatars.discourse-cdn.com/v4/letter/k/cc9497/32.png) [@kartheek91](https://discuss.elastic.co/u/kartheek91)\
**Post date:** [March 24, 2016, 5:26am UTC](https://discuss.elastic.co/t/how-to-get-the-top-hits-of-the-search-results/45305/1 "2016-03-24T05:26:15Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![iliasse](https://avatars.discourse-cdn.com/v4/letter/i/22d042/32.png) [@iliasse](https://discuss.elastic.co/u/iliasse)\
**Post date:** [March 24, 2016, 2:35pm UTC](https://discuss.elastic.co/t/how-to-get-the-top-hits-of-the-search-results/45305/2 "2016-03-24T14:35:57Z")

</div>

Hi,

By default elastic returns results sorted by relevancy (score)

---

<div class="post-metadata">

**Author:** ![kavuri](https://avatars.discourse-cdn.com/v4/letter/k/e9c0ed/32.png) [@kavuri](https://discuss.elastic.co/u/kavuri)\
**Post date:** [November 17, 2016, 5:04pm UTC](https://discuss.elastic.co/t/how-to-get-the-top-hits-of-the-search-results/45305/3 "2016-11-17T17:04:54Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 5, 2017, 10:05pm UTC](https://discuss.elastic.co/t/how-to-get-the-top-hits-of-the-search-results/45305/4 "2017-07-05T22:05:39Z")

</div>


