Cert++
Close

Making a new attribute searchable and rebuilding the search index

Key Takeaway

After you make a new attribute searchable, run a full rebuild of the matching indexes (the Product index, Spelling index, and Suggest index for a product attribute), because incremental indexing does not pick up searchable attribute changes.

Storefront search in B2C Commerce matches a shopper's text only against product, catalog, or content attributes that are configured as searchable. To make a new attribute searchable, you check that the attribute exists on the right system object and add it on the Searchable Attributes page in Business Manager. Then you rebuild the search indexes so the change reaches the storefront.

How search uses searchable attributes

Search ignores data in attributes that are not searchable. If a search term appears only in an attribute that is not searchable, the product is not returned, even though the data is there.

A garden store sells a bench. The wood is recorded in a custom product attribute called Wood Type, with the value "teak". The word "teak" appears in no other searchable attribute of the bench, and Wood Type is not searchable. A shopper searches for "teak". The bench is not in the results, even though the value is stored on the product.

B2C Commerce Developer Study Guide

Checklist progress

0/237Learned

Given a business requirement, modify site search preferences and settings to enable searching for a specified term or product attribute

0/9

Prepare for the Exam

Play Today's Certle

Study Community

Ask questions and get the latest info from other B2C Commerce Developer studiers.