Orders indexing

Version: 8.2

Orders indexing enables searching order information, including when an order is created or updated. This index is used by the search function in the Customer and Order Manager business tool. The Orders search index is named commerce_orders_index . Its crawler and strategy are defined in the Sitecore Commerce Engine Connect component. Every time an order is created or updated, the Commerce Engine updates the data in the OrdersIndex list, which causes the index to be updated.

The configuration for the index crawler is located in the following files, for Lucene or Solr:

  • Sitecore.Commerce.Engine.Connectors.Index.Lucene.config

  • Sitecore.Commerce.Engine.Connectors.Index.Solr.config

The configuration for the Orders index strategy is located in file:

  • Sitecore.Commerce.Engine.Connectors.Orders.config

By default, the index is set to be run every ten minutes.

Index fields:

  • orderid : the order ID.

  • orderconfirmationid : the order confirmation ID.

  • orderdate : the date the order was created.

  • orderpaymentstatus : the payment status of the order.

  • status : the status of the order.

  • email : the email of the order customer.

  • customerid : the id of the order customer.

  • environment : the environment where the order was created.

Do you have some feedback for us?

If you have suggestions for improving this article,