kowal.info

Search Optimizer

Composer kowal/module-search-optimizer · Version 1.0.40

Product page

Search Optimizer — kowal.co

Description

Tune Magento’s OpenSearch result ranking, configure search suggestions and identify queries that return no products.

For whom

For catalog teams improving searches by name, SKU and the terms customers actually use.

Features

  • Weight search fields and prioritise exact SKU matches.
  • Configure fuzzy matching and manual synonyms.
  • Set a separate minimum query length for autocomplete.

Installation

From the Magento root, with Composer access to the Kowal package, run

composer require kowal/module-search-optimizer
bin/magento module:enable Kowal_SearchOptimizer
bin/magento setup:upgrade
bin/magento cache:clean

Configuration

  1. Enable the module under Stores → Configuration → Kowal → Search Optimizer and choose the profile matching your OpenSearch version.
  2. Set name and SKU weights under Weights. Under Search Attributes, choose fields available in the product index.
  3. Set Autocomplete Minimum Query Length and the suggestion limit. Enable Log No-Result Queries to inspect unsuccessful searches under Content → Search Optimizer Logs.

Requirements / notes

The catalog search index must be up to date. The module checks the active index mapping before adding query extensions.

FAQ

Why does submitting a short query return results even though autocomplete shows no suggestions?

Compare Minimum Query Length with Autocomplete Minimum Query Length. Suggestions use their own threshold.

Verify the installation

bin/magento module:status Kowal_SearchOptimizer

Search for a known product’s full SKU and check its position. Type its name one character at a time to check when suggestions appear. With logging enabled, submit a query with no results and locate it in Admin.

Components included in Search Optimizer