SKU, EAN and typo searches in Magento 2: a Search Optimizer test set

2 min read

Gold 3D illustration with accents: blue — Kowal Search Optimizer for OpenSearch — Better Product Search in Magento 2

Judge search using real customer queries, not only a generic product name. Kowal Search Optimizer extends OpenSearch queries with identifier matching, controlled fuzziness and autocomplete. Prepare phrases and expected results before adjusting weights so improvements can be compared.

Define the data and scope

Before changing anything, record the SKU, store view, customer group and currency. Choose one control product and note its initial state. This keeps the comparison tied to the same data rather than two similar screens with different settings.

Prepare the configuration

Match the OpenSearch 2.x or 3.x profile to the instance and index mapping. Verify SKU, EAN and brand fields, then reindex catalogsearch_fulltext. Stores → Configuration → Kowal → Search Optimizer controls ranking, fuzzy matching, synonyms and suggestions. Current defaults are a two-character autocomplete threshold and eight products.

Start in a test environment using the theme and buying process actually used by the store. Change one setting at a time. Record both the selected configuration scope and any inherited value so another administrator can reproduce the result.

Run a concrete scenario

Test exact SKU, EAN, a prefix, a small typo and a zero-result phrase. Compare suggestions with the full list, direct product clicks and normal form submission. Change one weight and return to the same test set. Check the empty-query log in the correct store-view context.

Keep the result before and after the change. Repeat the exercise with a qualifying product and a case that should remain unaffected. For multiple store views, also check the message language and pricing context.

Check boundaries and accept the implementation

An EAN weight does not add a missing index field. Synonyms are manual and off by default; AI remains a future direction. Hyvä requires the optional adapter and Enable Hyva Autocomplete. Fallback covers query-extension errors, not an unavailable OpenSearch service. A custom header needs its search field connected.

For acceptance, retain the settings, expected result, observed result and test date. Describe discrepancies with a concrete example. After release, check the same journey on a phone and after reopening the page with the cache in use.

Related stages of the process

Filters narrow a known category; search responds to an SKU, EAN or name. These are complementary intentions. Test both paths on the same products without attributing OpenSearch query ranking to category filters. See Kowal Layered Navigation Suite for Magento 2 and the guide Magento 2 filters: accepting Layered Navigation Suite with real catalog data.

Check features and configuration in the offering for Kowal Search Optimizer for OpenSearch — Better Product Search in Magento 2.

Previous Next

KOWAL.BLOG

Choose your language

Available versions open the corresponding page. More languages are being prepared.

English (UK) Français Deutsch Español Italiano Português Nederlands Svenska Dansk Norsk Suomi Lietuvių Latviešu Eesti Čeština Slovenčina Magyar Română Български Ελληνικά Slovenščina Hrvatski Polski English (US)