# Searching Users returns a maximum of 20 users

**URL:** <https://meta.discourse.org/t/searching-users-returns-a-maximum-of-20-users/296485>\
**Category:** Feature\
**Tags:** search\
**Created:** [February 23, 2024, 1:50pm UTC](https://meta.discourse.org/t/searching-users-returns-a-maximum-of-20-users/296485 "2024-02-23T13:50:36Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![pacharanero](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pacharanero/32/500583_2.png) [@pacharanero](https://meta.discourse.org/u/pacharanero)\
**Post date:** [February 23, 2024, 1:50pm UTC](https://meta.discourse.org/t/searching-users-returns-a-maximum-of-20-users/296485/1 "2024-02-23T13:50:36Z")

</div>

When searching users by Searchable user custom field values, there is only ever a maximum of 20 results returned, even though I know from Rails console queries that there are around 200.

 ![image](https://global.discourse-cdn.com/meta/original/4X/3/0/8/3087c36860fd376770f978575d4514ede6baa6d6.png)

I thought this might be related to the [‘hidden’ site setting `DISCOURSE_RATE_LIMIT_SEARCH_USER`](https://meta.discourse.org/t/how-to-edit-hidden-site-settings/194640) which I have amended to 50, but although this env var did get recognised and was contained in the final block from the `./launcher rebuild app` output, there is no change. I am guessing that this setting is more to do with _rate_ limiting than the _number_ of search results returned (although searching Meta and the Discourse source I couldn’t find any documentation of this setting at all)

Is this limit of 20 an internal Discourse limit? Is there a way to change it?

---

_[View the full topic](https://meta.discourse.org/t/searching-users-returns-a-maximum-of-20-users/296485)._
