Configure Searching .. - Answers - Salesforce Trailblazer Community
Trailblazer Community
Ask Search:
Marjorie ArmijosMarjorie Armijos 

Configure Searching ..

HELP Please: Must be possible to limit the number of accounts and contacts displayed in search results to 10 per page, how?
I want to do this in Lightning Experience. 
Sakthivel MadeshSakthivel Madesh
Hi Marjorie Armijos,

Can you try this way
Switch to classic if you are in lightning
From Setup-> Search Settings 
Under "Number of Search Results Displayed Per Object" Select Account and Enter 
Results per page for selected objects: 10
Similar way Select Contact.
User-added image
Now Switch to Lightning and try to search and see the counts will reflect and this will work both lightning and classic search, but currently this settings is controlled from classic setup.

Thanks & Regards,
Sakthivel Madesh
Marjorie ArmijosMarjorie Armijos
Thanks for your reply..
At the moment I cant find "Number of Search Results Displayed Per Object"
I see other type of settings.
Where should I check for "Number of Search Results Displayed Per Object"?
Sakthivel MadeshSakthivel Madesh
Hi Marjorie,

The setting is exists in Classic (Setup -> Search -> Search Settings)

Please watch my video for your reference:
https://www.youtube.com/watch?v=RWI_wKUDF4E

Thanks & Regards,
Sakthivel Madesh
AMIT DATTAAMIT DATTA
Hi Marjorie,
++Sakthivel

I do not see any impact of number of search results in Lightning. Lightning always does lazy loading if the list of records are more. So performance is not compromised to display data on the UI. And it is always defaulted to 5 records for each Object if it is global search for all the object. To get more data from one object you can select the object from the drop down to limit the search only in that object. Could you please let us know the use case you are trying to achive with this. Follow the below knowledge article for the Lightning Search behaviour:

https://help.salesforce.com/articleView?id=basics_search_records_lex.htm&type=5

Regards,
Amit.
Sakthivel MadeshSakthivel Madesh
Hi Marjorie Armijos,

Thanks for the confirmation.

@Amit, using this setting we can limit to display a search results as 5 records and if you click more link then its will display the entire search results in the lightning experience.

If you still doubt then refer my video to still end.
https://www.youtube.com/watch?v=RWI_wKUDF4E

Thanks & Regards,
Sakthivel Madesh