---
title: 'Search Optimizer'
url: 'https://info.srv.kowal.co/docs/magento/modules/search-optimizer'
markdown: 'https://info.srv.kowal.co/docs/magento/modules/search-optimizer.md'
lang: en
date: '2026-11-29'
description: 'Adjust the weights for product names and SKUs, set when autocomplete starts and use the no-results log to find searches that return no products.'
taxonomy:
  category:
    - docs
    - Magento
    - Modules
  tag:
    - catalog
    - search
---

# Search Optimizer

**Composer** `kowal/module-search-optimizer` · **Version** 1.0.40

## Product page

[Search Optimizer — kowal.co](https://kowal.co/kowal-search-optimizer-opensearch-better-product-search-in-magento-2)

## 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

```sh
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

```sh
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

 [ **Search Optimizer Hyvä** Display Search Optimizer suggestions in the Hyvä header while keeping the normal search form available for full results. ](https://info.srv.kowal.co/docs/magento/modules/search-optimizer/search-optimizer-hyva)

---

## Navigation

- Parent: [Magento 2 Extensions](https://info.srv.kowal.co/docs/magento/modules.md)
- Previous: [Layered Navigation Suite](https://info.srv.kowal.co/docs/magento/modules/layered-navigation-suite.md)
- Next: [Shipping Rules](https://info.srv.kowal.co/docs/magento/modules/shipping-rules.md)
- Children:
  - [Search Optimizer Hyvä](https://info.srv.kowal.co/docs/magento/modules/search-optimizer/search-optimizer-hyva.md)
