Search configuration with searchable fields, filters, and sort rules
Key Takeaway
Changes to searchable fields, results filters, and sort rules reach buyers only after the next search index rebuild.
Search configuration controls how buyers find, narrow, and arrange products in a B2B Commerce store. An admin marks which product fields are searchable, chooses which fields appear as results filters, and creates sort rules. The admin makes these choices with clicks in each store's search settings.
Where search settings live
Each product in a B2B Commerce store is a Product2 record. Fields on Product2 drive four behaviors:
| Behavior | Controls whether a field can |
|---|---|
| Search | be discovered in search |
| Facet | be used as a search filter |
| Sort | be used as a sorting criterion |
| Display | be shown or hidden |
Custom fields that you add to Product2 are also available to all store products.
Search settings are configured per store. To open them, select the store from the "Store" dropdown in the navigation sidebar, and then select "Settings | Search". The page has separate tabs for "Searchable Fields", "Results Filters", and "Search Index".