Rebuild a Commerce search index using Postman

Abstract

Lists and describes the Postman API samples you can use to rebuild Commerce search indexes.

There are situations where you need to manually trigger a rebuild of Commerce search indexes, for example, after you import Commerce catalog data, when you have new or changed Commerce content to re-index, or when indexes are out of date or have been corrupted. The Commerce Engine uses indexing minions to index Commerce entities. You can use Postman API sample requests to manually trigger indexing minions for rebuilding Commerce indexes.

To rebuild a Commerce index using Postman, for example to perform a full rebuild of the orders search index:

  1. In the Postman Collections pane, expand the SitecoreCommerce_DevOps collection. 

  2. Open the Minions folder, and execute the Run FullIndex Minion - Orders request.

Postman sample requests for rebuilding Commerce indexes

The DevOps collection In Postman contains the following sample API requests that you can use to rebuild Commerce search indexes:

Postman API request

Usage

Run FullIndex Minion - Orders

Use to perform a complete rebuild of the orders search index. The Business Tools orders search capability uses this index.

Run IncrementalIndex Minion - Orders

Use to trigger an incremental update of the orders search index, to index new or changed orders. The Business Tools orders search capability uses this index.

Run FullIndex Minion - Customers

Use to perform a complete rebuild of the customers search index. The Business Tools customers search capability uses this index.

Run IncrementalIndex Minion - Customers

Use to trigger an incremental update of the customers search index, to index new or changed customers. The Business Tools customers search capability uses this index.

Run FullIndex Minion - PriceCards

Use to perform a complete rebuild of the price cards search index. The Business Tools search capability uses this index for price books and price cards search.

Run IncrementalIndex Minion - PriceCards

Use to trigger an incremental update of the price cards (and price books) search index, to index new or changed price cards and price books.

Run FullIndex Minion - Catalog Items

Use to perform a complete rebuild of the catalog items (catalogs, categories and sellable items) search index. The Business Tools search capability uses this index.

Run IncrementalIndex Minion - Catalog Items

Use to trigger an incremental update of the catalog items (catalogs, categories and sellable items) search index, to index new or changed catalog items. The Business Tools search capability uses this index.

Run FullIndex Minion - Promotions

Use to perform a complete rebuild of the promotions search index. The Business Tools search capability uses this index.

Run IncrementalIndex Minion - Promotions

Use to trigger an incremental update of the promotions search index, to index new and changed promotions. The Business Tools search capability uses this index.

Run FullIndex Minion - Storefront (Master)

Use to trigger the indexing of all Commerce items (catalogs, categories and sellable items) in the sitecore_master_index.

Note

This command only updates the index with Commerce items. It does not perform a complete rebuild of the sitecore_master_index.

Run IncrementalIndex Minion - Storefront (Master)

Use to trigger the incremental update of Commerce items (catalogs, categories and sellable items) to update the sitecore_master_index with new or changed Commerce items.

Note

This command only updates the index with new Commerce items. It does not perform a complete rebuild of the sitecore_master_index.

Run FullIndex Minion - Storefront (Web)

Use to trigger the indexing of all Commerce items (catalogs, categories and sellable items) in the sitecore_web_index.

Note

This command only updates the index with Commerce items. It does not perform a complete rebuild of the sitecore_web_index.

Run IncrementalIndex Minion - Storefront (Web)

Use to trigger an incremental update of Commerce items (catalogs, categories, and sellable items), to update the sitecore_web_index with new or changed Commerce items.

Note

This command only updates the index with new or changed Commerce items. It does not perform a complete rebuild of the sitecore_web_index.