Search Data Limits
Object | Limit B2B and D2C Except Where Indicated | Store or Org | Notes |
---|---|---|---|
Filter or Facet Values per Attribute in search | 100* values | N/A | The number of filterable values per attribute. More than 100 values can be added to a filterable field, but the selectable limit is 100. |
Filter Fields in a Query in Search | 10 filterable fields | N/A | The number of fields a customer can select to apply in a search query. |
Facets Displayed for a Search Query | 10 filterable fields | N/A | The limit is 10 filterable fields as facets. If auto-faceting is enabled, the top 10 most populated filterable fields are displayed as facets. |
Filterable Attributes per Store | 50 filterable fields | Store | The number of attributes used as filters per search. Filtered search attributes enable a faceted search experience. |
Searchable Attributes per Store | 25* searchable fields | Store | The limit of searchable characteristics or properties associated with products that are configured to be searchable within your store. Make use of standard searchable attributes like product name, description, SKU, and others. These are often foundational attributes that users frequently use for searching. |
Sort Rules per Store | 10 | Store | The limit is 10 sort rules to a store. Each variation, such as Price (Low to High) and Price (High to Low), counts as separate rules. The combined total of searchable attributes, filterable attributes, and sort rules per store can't exceed 70. |
Sortable Fields in a Query in Search | 15 sortable fields | Store | The number of fields a customer can use to arrange results in search and category pages. These fields can be configured by adding sort rules. |
Search Terms per Search | 1024 characters or 32 words B2C Only | N/A | The number of characters or words entered in a search field and applied to a search. |
Product per Search Results Page | B2B: 200 search results D2C: 200 search results | N/A | The total number of items per page returned. Search returns the number of items configured per page plus up to 5 thousand if applicable. |
Filter Values per Attribute per Product | B2B: 250 values D2C: 250 values | For each locale, a product field can have up to 250 values, including category name and ID. Products exceeding this limit aren't indexed in search. | |
Locale | 25 | N/A | Search can index a maximum of 25 locales. |
The * denotes a soft limit that can be increased by contacting Salesforce customer support. Limits without the * are hard limits and can't be changed.
Best Practice
Maintaining search settings within the Salesforce B2B and D2C Commerce search limits helps improve search functionality and the customer experience. Before considering extending search limits for B2B or D2C stores, evaluate your search configuration and customizations.
Optimize Product Data: Search data, such as fields, values, and attributes, are directly linked to product data. To limit the need for excessive search data, ensure that your product data is well-organized, accurate, and complete. This includes maintaining consistent and descriptive product names, detailed descriptions, and appropriately configured attributes. Product data that is well maintained minimizes the need for large sets of search filters and search values that increase search data and slow down search results.
Identify and prioritize the key searchable fields. Set as searchable the fields that are most relevant to your customers. Focus on fields that are commonly used in searches and are critical for product identification.
Take advantage of available custom field options so customers can tailor their search configuration to align with your products, customer needs, and industry search standards. When setting custom fields for search, you can minimize data usage, by only using fields that help customers target and refine a search. Avoid setting as searchable catch-all fields that don’t return refined results.
Regularly maintain your searchable fields and attributes so they stay within the store limits. When you discontinue products, review your searchable field and attributes and remove those that are specific to the discontinued product. Regularly test the search functionality, especially after implementing changes or updates. Monitor search performance and analyze user behavior to identify areas for improvement.
If you have search data requirements that exceed the limits, consider the impact on search performance and data storage limits.
- Does the additional data push related data objects beyond their limits?
- Can you offset a data increase by decreasing data requirements in other store functions?
After you assess the impact of a data increase, if you still want to request an increase, contact Support.