# How to set number of displayed results in saved searches

**URL:** https://discuss.elastic.co/t/how-to-set-number-of-displayed-results-in-saved-searches/171256
**Category:** Kibana
**Created:** [March 7, 2019, 8:50am UTC](https://discuss.elastic.co/t/how-to-set-number-of-displayed-results-in-saved-searches/171256 "2019-03-07T08:50:00Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![xenoid](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/xenoid/32/20672_2.png) [@xenoid](https://discuss.elastic.co/u/xenoid)
#### Post date: [March 7, 2019, 2:56pm UTC](https://discuss.elastic.co/t/how-to-set-number-of-displayed-results-in-saved-searches/171256/3 "2019-03-07T14:56:05Z")

</div>

> [@Limit the number of search result in a dashboard](https://discuss.elastic.co/t/limit-the-number-of-search-result-in-a-dashboard/85568/8):
>
> I think I may have found the problem. I still had the discover:sampleSize set. The behavior looks like this: that setting isn't taken in account in the dashboard, unless you have the size field inside your saved object. So for the workaround to work for you, you need to set both limits: the size inside the the object and the advanced setting (which is the one whose number is taken into account). I had added an issue on the Kibana repo and I'll update it with this new information. [https://gith…](https://github.com/elastic/kibana/issues/11758)

This solution let me limit the results.  
But my problem is that I want to show more than 50 at a time.

I set `discover:sampleSize` and `size` to multiple different values but I could only decrease the shown results but not increase.

---

_[View the full topic](https://discuss.elastic.co/t/how-to-set-number-of-displayed-results-in-saved-searches/171256)._
