Marking fields as searchable helps the search engine index more content, improving search accuracy and relevance in you B2B Commerce store. Avoid marking fields as searchable if the fields contain sensitive information or provide generic data.
Required Editions
| View supported editions. |
Which Salesforce Commerce Product Do I Have?
When marking product fields as searchable or not searchable, keep these considerations in mind.
- The Category Name, Product Name, SKU, Product Description, and Product Code fields are searchable by default. Except for SKU and Product Code, which are used as identifiers for SKU searches, you can change the default fields to not searchable. SKU and Product Code remain searchable even if marked not searchable because they're used as identifiers for SKU searches.
- Category Name isn't shown in the list of searchable fields, but itʼs used in search queries by default. If you want to mark Category Name as not searchable, you can do so via an API request to the Commerce Management Webstore Search, Searchable Attributes endpoint.
- You can configure up to 25 searchable fields and 50 filterable fields by default. To configure a total of 100 searchable and filterable fields, contact Salesforce Customer Support.
- With product variations, parent products and their fields aren’t searchable.
- When using picklists, make sure to activate any picklist values before building the search index.
Tip If you use field encryption, we recommend not encrypting product fields
because that makes them not searchable. You can mark encrypted product fields as searchable,
but encryption overrides the setting and they remain unsearchable.
- In the navigation sidebar, select a store from the Store dropdown.
- Select Settings | Search.
-
On the Searchable Fields tab, click Manage Searchable
Fields.
In the Manage Searchable Fields window, searchable fields are marked with
. Not searchable fields are marked with
. -
To deselect a searchable field, click the
. To make a field searchable, click
.
- Save your changes.
-
On the Search Index tab, update the search index.
Changes appear in the store after the next search index rebuild. See Update the Commerce Search Index.