---
schema_version: "1"
id: 870cd9b74bca7946205217056ab12b70746fe2179c84d990922506f8711a8f35
title: Incremental Indexing
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/cc/264-0-0/b2c_incremental_indexing.md
canonical_url: https://help.salesforce.com/s/articleView?id=cc.b2c_incremental_indexing.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: cd7abb9ce7afdd44aa2f7b0d7d4d66c1c322634f14185f46242555d8a6c18ecf
description: B2C Commerce indexes can be configured to rebuild incrementally, when product or category assignments are updated or on a schedule. If you enable incremental indexing for an index, then the index is automatically updated whenever a change is made to the products, content, or search configuration underlying the index. Changes to the index are available 30 seconds after a merchant makes a change. Incremental indexing can be enabled or disabled for each index type on each instance, but applies to all locales on the instance.
products:
  - Commerce
  - B2C Commerce
release: "264"
---
# Incremental Indexing

B2C Commerce indexes can be configured to rebuild incrementally, when product or category assignments are updated or on a schedule. If you enable incremental indexing for an index, then the index is automatically updated whenever a change is made to the products, content, or search configuration underlying the index. Changes to the index are available 30 seconds after a merchant makes a change. Incremental indexing can be enabled or disabled for each index type on each instance, but applies to all locales on the instance.

Incremental indexing is useful in development for seeing changes to the index immediately, because it removes the need to manually trigger a rebuild or wait for the full index to rebuild.

If incremental indexing is disabled for an index, then the index must be manually rebuilt when changes are made to the products, content, or search configuration. Because search performance can be affected if indexes become too fragmented, it's recommended that you rebuild indexes regularly, even if you enable incremental indexing. It's best practice to rebuild indexes daily.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-cc-b2c_merchandiser_administrator-264-0-0-production-enus/ea76f372-6cfa-42a6-8e7c-05c6df7abed8/images/icon_note.png)

Note

Incremental search availability indexing is automatic. It can't be enabled or disabled.

When search index related data is locked, for example, during import, the search index incremental update is skipped and postponed until the other locking process has finished. This prevents unnecessary incremental updates when a significant number of data changes during a mass operation.

Unlike a full index rebuild, incremental indexing doesn't update all search features. B2C Commerce updates an index when the object being indexed is modified, added, or deleted.

![Important](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-cc-b2c_merchandiser_administrator-264-0-0-production-enus/ea76f372-6cfa-42a6-8e7c-05c6df7abed8/images/icon_important.png)

Important Even if incremental indexing is enabled, we recommend that you regularly rebuild your indexes, to prevent fragmentation and performance degradation.

## Data Updated by Incremental Indexing

If incremental indexing is enabled for a specific index, changes to data made in Business Manager or imported into B2C Commerce are detected and the index is updated.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
          <colgroup>
            <col>
            <col>
            <col>
          </colgroup>
          <thead class="slds-text-title_caps ">
            <tr class="">
              <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d244917e68">Index</th>
              <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d244917e71">Object indexed</th>
              <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d244917e74">Details of incremental indexing</th>
            </tr>
          </thead>
          <tbody>
            <tr class="">
              <td data-label="Index" class="slds-cell-wrap" style="vertical-align:top;" headers="d244917e68 ">Product Index</td>

              <td data-label="Object indexed" class="slds-cell-wrap" style="vertical-align:top;" headers="d244917e71 ">Product</td>

              <td data-label="Details of incremental indexing" class="slds-cell-wrap" style="vertical-align:top;" headers="d244917e74 ">If product attributes, variation assignments, or category assignments
                are modified, the index is updated.</td>

            </tr>
            <tr class="">
              <td data-label="Index" class="slds-cell-wrap" style="vertical-align:top;" headers="d244917e68 ">Content Index</td>

              <td data-label="Object indexed" class="slds-cell-wrap" style="vertical-align:top;" headers="d244917e71 ">Content Asset</td>

              <td data-label="Details of incremental indexing" class="slds-cell-wrap" style="vertical-align:top;" headers="d244917e74 ">Index updated when modified, added, or deleted.</td>

            </tr>
            <tr class="">
              <td data-label="Index" class="slds-cell-wrap" style="vertical-align:top;" headers="d244917e68 ">Synonym Index</td>

              <td data-label="Object indexed" class="slds-cell-wrap" style="vertical-align:top;" headers="d244917e71 ">Synonyms, Hypernyms</td>

              <td data-label="Details of incremental indexing" class="slds-cell-wrap" style="vertical-align:top;" headers="d244917e74 ">Index updated when modified, added, or deleted.</td>

            </tr>
            <tr class="">
              <td data-label="Index" class="slds-cell-wrap" style="vertical-align:top;" headers="d244917e68 ">Suggest Index</td>

              <td data-label="Object indexed" class="slds-cell-wrap" style="vertical-align:top;" headers="d244917e71 ">Search Suggestions</td>

              <td data-label="Details of incremental indexing" class="slds-cell-wrap" style="vertical-align:top;" headers="d244917e74 ">Index updated when modified, added, or deleted.</td>

            </tr>
            <tr class="">
              <td data-label="Index" class="slds-cell-wrap" style="vertical-align:top;" headers="d244917e68 ">Availability Index</td>

              <td data-label="Object indexed" class="slds-cell-wrap" style="vertical-align:top;" headers="d244917e71 ">Product Inventory Record</td>

              <td data-label="Details of incremental indexing" class="slds-cell-wrap" style="vertical-align:top;" headers="d244917e74 ">
                <p>Index updated when modified, added, or deleted.</p>
                <p style="margin-bottom:0;">When performing an inventory import with REPLACE or MERGE, which removes
                  inventory records, the availability index rebuild that is executed
                  immediately after the import detects those removals and purges the
                  respective entries from the index.</p>
              </td>

            </tr>
            <tr class="">
              <td data-label="Index" class="slds-cell-wrap" style="vertical-align:top;" headers="d244917e68 ">Active data Index</td>

              <td data-label="Object indexed" class="slds-cell-wrap" style="vertical-align:top;" headers="d244917e71 ">Active Data record</td>

              <td data-label="Details of incremental indexing" class="slds-cell-wrap" style="vertical-align:top;" headers="d244917e74 ">The active data record is imported via feed. Changes to products are
                identified and cause an update to the active data record if the product was
                modified after the latest rebuild of the active data index.</td>

            </tr>
          </tbody>
        </table>

## Data Not Updated by Incremental Indexing

To allow for high performance in incremental indexing, there are several objects that aren’t updated when they’re modified, added, or deleted. These objects are only updated in the search index when a full index rebuild is performed.

 
| Data | Details of incremental indexing |
| --- | --- |
| Prices and Price book site assignments | Prices and price book site assignments aren’t updated. |
| Catalogs | Catalog structure, catalog site assignments, and catalog online attributes with impact on assigned products aren’t updated. |
| Search refinement definitions | Search refinement definitions aren’t updated. |
| Searchable attributes | Searchable attributes aren’t updated. |
| Index settings | Index settings aren’t updated. |

## Tips and Tricks

If you plan to import many product or category structure changes, we recommend that you disable incremental indexing and rebuild the product index at the end of the import, because this is less costly to overall performance.

The incremental indexing updates indexes when the first changes are available from an import. We recommend that import pipelines configure imports in a single transaction so that all changes are visible at once. This makes sure that no partial catalog updates are published into an index.

#### See Also

- [Rebuild Search Indexes (Video)](https://salesforce.vidyard.com/watch/WeAGCMnGAWyTkEqgXJpdWh)

## Set Up Incremental Indexing

Set up incremental indexing for B2C Commerce.

1. Click App Launcher ![App Launcher](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-cc-b2c_merchandiser_administrator-264-0-0-production-enus/ea76f372-6cfa-42a6-8e7c-05c6df7abed8/cc/b2c_merchandiser_administrator/images/appLauncher.png), and then select **Merchant Tools** | **Site** | **Search** | **Search Indexes**.
2. On the Search Indexes page, click the index type you want to configure.
3. Select the **Incremental Index Update** box for the index you want incrementally updated.
    
    This function isn't available for the search availability index, which B2C Commerce updates automatically and incrementally.
4. Click **Apply**.
5. Click **<< Back** to List to return to the Search Indexes page.