OpenSearch 3 in Magento 2: find the right product with Kowal Search Optimizer

6 min read 0 views

The product is in your catalog. Can customers find it?

A shopper enters a number from the packaging, an abbreviation or a misspelled brand. The product is available, yet it does not appear where they expect. This is a reason to review how search interprets queries and ranks results.

Kowal Search Optimizer for Magento 2 extends OpenSearch-based catalog search. It helps align ranking with product data and customer language, while suggestions make the offer easier to reach. It includes separate compatibility profiles for OpenSearch 3.x and 2.x.

This overview is based on version 1.0.39 source code and documentation, focusing on everyday work for store owners, e-commerce managers and catalog teams.

Ranking that reflects the importance of information

A match in a product name often means more than an incidental word in a long description. Configure weights for names, SKUs, short descriptions and full descriptions.

Select additional attributes and their weights, such as EAN, manufacturer or other catalog characteristics. Supported fields include text and single- or multi-select attributes. Option labels can be used when present in the index.

Example: a parts store might emphasise codes and manufacturers; a homeware store might prioritise names and relevant characteristics. Check the actual result order after each change.

SKU and EAN: a shorter path to a specific model

Someone entering a code often knows what they want. The module distinguishes text, identifier and mixed queries. Exact and prefix matches can raise the relevant product in the ranking.

This helps technical catalogs and B2B stores where customers copy SKUs, EANs or other codes. Results depend on catalog values, selected attributes and the index structure.

The module checks indexed fields before using them in query extensions. Assigning a weight does not create a missing OpenSearch field. Check attribute indexing and carry out the appropriate reindexing during deployment.

Controlled typo tolerance and synonyms

Configurable fuzzy search helps with minor spelling errors. Adjust tolerance, the required word prefix and expansion limits. The OpenSearch 3 profile uses more conservative query expansion settings to reduce loose matches.

Manual synonym groups connect alternative terms, such as “television, tv”. Use customer language and verify that a group does not mix different product purposes.

In this version synonyms are maintained manually, and synonym and weight settings are global. Plan the vocabulary with every store language in mind.

Suggestions while typing: product, image and price

Autocomplete displays names, SKUs, thumbnails, product links and available pricing before the form is submitted. Customers can open a product or view all search results.

The character threshold and result limit are configurable. Current defaults start suggestions at 2 characters, with a maximum of 8 entries. Choose net or gross prices; promotional pricing can show the current price alongside a crossed-out regular price when supported by the data.

Configure background, name, price, heading and button colours. Check desktop, mobile and customer groups with different pricing conditions.

Helpful search before the first letter

Activating an empty search field can display recent searches, featured categories and popular products, helping returning visitors or shoppers exploring the offer.

  • History: up to 6 phrases from the last 30 days, stored locally in the browser for each store view, with a clear-history option.
  • Categories: up to 6 active top-level menu categories in menu order. This is navigation selection, not measured popularity.
  • Products: up to 6 items based on Magento bestseller reports for the current and previous two calendar months.

Bestsellers require populated reports and the cron job that prepares product selections. The section may be absent with an empty report. The layout becomes a single column on mobile.

Products and guides from Kowal Blog

Stores using Kowal Blog with blog_post entries can include articles in search. Products come before articles in suggestions, and articles have no price.

On the full results page, posts are separated from the main product list and can appear in a dedicated block with up to 5 matching articles. Customers can find both products and buying advice. The block's appearance also depends on the theme layout.

Empty results show where to improve

The module records no-result phrases from the full search page and displays them in an admin grid. Review missing synonyms, incomplete attributes, unclear names or gaps in the assortment.

Logging is enabled by default, retention is 180 days and customer ID recording is disabled. Cron removes old entries according to configuration.

A practical routine: select recurring phrases, identify the expected product, improve data or settings and repeat the test. A no-result query does not automatically need a synonym.

Luma, Hyvä and assets loaded on demand

The package includes the main frontend and an optional Hyvä adapter, enabled for the appropriate store view. Its JavaScript works without jQuery or RequireJS. Luma stores do not need Hyvä installed.

Main suggestion scripts and styles load after interaction with search, reducing downloads on initial page opening. First use still needs those resources. Measure the performance impact in your store.

Keyboard navigation and standard form submission remain available. Custom headers and third-party search integrations require checking the connection to the search input.

Getting started with OpenSearch 3

Go to Stores → Configuration → Kowal → Search Optimizer. Select profile 3.x for an OpenSearch 3 instance; the reviewed default configuration still selects 2.x. Check compatibility with your Magento version, index and theme.

Prepare test phrases: exact SKU, EAN, name, brand, a typical typo and a previous no-result query. Check product lists, suggestions, prices and welcome data. Include catalogsearch_fulltext reindexing when changing indexing.

Fallback can restore the native query if the extension layer fails. A working OpenSearch service is still required. The module improves relevance and search interaction; assess its sales impact using your own data.

Adapt search to your customers

Start with products frequently searched by code and phrases that return nothing. Tune weights, complete attributes and check suggestions and synonyms. This creates a process based on actual shopping difficulties.

Explore Kowal Search Optimizer for OpenSearch or tell us what customers cannot find in your Magento store.

Update cookie preferences