Search and Navigation Implementation Best Practices

Salesforce recommends the following best practices:

Performance Recommendations

If you have a large catalog of products and you want to improve the speed of search, try to make the size of your indexes smaller. You can see the size of an index after it's built on the Search >Search Indexes page. Usually, the number of attributes being indexed is what determines index size. You can also add stop words to decrease the size of the index.

However, if you decrease the number of searchable attributes, this means that the search results might be less accurate.

If you have an average size catalog of products, decreasing index size isn't normally a concern.

Testing Recommendations

We recommend testing the top 50–100 searches on your site as a baseline to make sure that the search results are returned in the order that you prefer.