Improve search performance for large data volumes by excluding rarely searched objects and choosing the appropriate search method (SOQL or SOSL).
Required Editions
| Available in: Lightning Experience and Salesforce Classic |
| Available in: Professional, Enterprise, Performance, Unlimited, and Developer Editions |
| User Permissions Needed | |
|---|---|
| To configure base objects: | Customize Application |
Salesforce Maps search results include points of interest from your map provider, records in your plotted marker layers, and geocoded records from your configured objects. If you have a large volume of data, you can improve search performance by excluding base objects that your users don't frequently search. The search method you choose also determines how Maps queries Salesforce records.
To change how Maps queries records, select a search method (SOQL or SOSL) in the Salesforce Maps global preferences.
Exclude an Object from Search
Improve performance by excluding objects that your users don't frequently search.
- From Setup, in the Quick Find box, enter Installed Packages, and then select Installed Packages.
- Find the Salesforce Maps package, and then click Configure.
- Go to Base Object > Edit Existing.
- Select the object that you want to exclude.
- Under Advanced Options, select Disable Global Search.
- Select a Search Method for Salesforce Maps
Choose how Salesforce Maps queries records. SOQL, the default, returns up to three records per object and works well for smaller datasets. SOSL returns a broader range of results (up to 100 records across the search) and performs better for large datasets.