How to limit number of returned results for a Search Source?

Tate Roth
Tera Contributor

I created a search source for the sys_user table to allow users to search for people in the Service Portal, the problem is it returns too many names and sometimes it crowds out all other search results (knowledge and catalog).  How can I limit the number of results returned for the search to say 5?  I'm assuming it's probably in the Advanced typeahead config but I'm not familiar with it.  I'd like to keep the Glyph fa-male as the icon. 

Thanks for looking!

3 REPLIES 3

Nitin_NOW
Tera Guru

On that search source widget/result do a CTRL+Right click which displays below view.

find_real_file.png

Click on 'Instance options' where there is a field 'Maximum entries' to define the results accordingly. 

find_real_file.png

Please hit correct based on impact of response.

Thanks!

I tried this but didn't see the Maximum entries option, I'm sure it's just a config setting to expose it but if it's what I think, it would only limit the total number of all entries from all search sources.  I'm interested in only limiting the number of entries from the user table search as it tends to overwhelm the other search sources due to the quantity of users in a department.

chandu31
Tera Contributor

Hello Tate Roth, Have you ever found the solution to this, I'm looking to limit the number of search results from the (sys_user)source, When I search for a user it is returning the whole manager hierarchy results, Is there a way to limit the results from user table to only one user?