---
schema_version: "1"
id: 438c14be5f9311ec17e7be49597db72b6c9c36d1d80fdfc1d61834d60cf9aa81
title: Assign Weights to Searchable Product Fields
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/commerce/264-0-0/comm_search_weight_fields.md
canonical_url: https://help.salesforce.com/s/articleView?id=commerce.comm_search_weight_fields.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: e877dc9f07703d0138bb11b76d6a32ba4559e4f40b261711b211288580f243e4
description: Assign weights to searchable product fields such as Name, SKU, and Brand to prioritize high-value matches in search results. By assigning weights on a scale of 1 to 10, where 1 is the lowest and 10 is the highest, to searchable fields, you can control which fields carry the most influence in search rankings. By assigning weights to standard and custom searchable fields, product attributes, and category fields, you can influence ranking behavior without requiring backend engineering or AI intervention.
products:
  - Commerce
  - B2B Commerce
release: "264"
---
# Assign Weights to Searchable Product Fields

Assign weights to searchable product fields such as Name, SKU, and Brand to prioritize high-value matches in search results. By assigning weights on a scale of 1 to 10, where 1 is the lowest and 10 is the highest, to searchable fields, you can control which fields carry the most influence in search rankings. By assigning weights to standard and custom searchable fields, product attributes, and category fields, you can influence ranking behavior without requiring backend engineering or AI intervention.

These weights tell the ranking algorithm which fields are most important. For example, if you weight the Name field at 8 and the Description field at 3, when calculating relevance scores, the algorithm gives more significance to a product whose name matches the search term than the product whose description matches the search term. This means a product whose name matches the search term is more likely to rank higher than a product where the term only appears in the description. Because this configuration changes how relevance scores are calculated, it’s recommended you test various weight combinations to achieve your desired ranking outcomes.

1. In the navigation sidebar, select a store from the **Store** dropdown.
2. Select **Settings** | **Search** | **Searchable Fields**.
3. Assign a weight to the field.
    
    ![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-commerce-comm-264-0-0-production-enus/d863e308-482a-4dfa-8d20-2a94737d394a/images/icon_note.png)
    
    Note If you don’t assign a weight to a field, the default weight of 1 is applied.
4. Save your changes.
5. Click the Search Index tab.
6. Click **Update**, select the full index method, and refresh the search index to apply the changes.

#### See Also

- [Mark Product Fields as Searchable or Not Searchable for a B2B Commerce Store](https://help.salesforce.com/s/articleView?id=commerce.comm_search_mark_fields.htm&release=264.0.0&type=5 "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.")
- [Commerce Management Webstore Search, Searchable Attributes](https://developer.salesforce.com/docs/atlas.en-us.chatterapi.meta/chatterapi/connect_resources_commerce_webstore_search_attributes.htm)
- [Update the Commerce Search Index](https://help.salesforce.com/s/articleView?id=commerce.comm_search_index_build.htm&release=264.0.0&type=5 "Update your search index so that changes to your products appear on your search and category pages. You can manually update the index or turn on automatic system updates.")