Search autocorrection, suggestions and Did You Mean behavior
Key Takeaway
Turning off Search Autocorrections stops search terms from being corrected or completed. To keep product ID searches exact while other terms are still corrected, set Auto-correction to No on the product ID searchable attribute instead.
B2C Commerce search can fix a shopper's typos and finish partial words in three ways. It can suggest terms as the shopper types (search suggestions), correct the phrase when the search runs (Search Autocorrections), or offer a corrected phrase the shopper can pick (Did You Mean). Merchants control these in Business Manager through Search Preferences and through an Auto-correction setting on each searchable attribute. Developers read suggestions in script code through the dw.suggest.SuggestModel script API.
Three behaviors that are easy to mix up
Each behavior acts at a different point in the search:
- "Search Autocorrections" changes the search phrase before the search runs.
- "Did You Mean" offers a corrected phrase that the shopper can choose.
- Search suggestions show terms and items while the shopper is still typing.