The Home for Magento 2 Excellence

Quality-tested Magento 2 modules. Explore. Evaluate. Elevate. #magento2

1090 Modules
617 Ready
473 Need Help
🏆 Leaderboard
Actively Maintained v1.0.0

Magento 2 Semantic Search

sndsabin/module-semanticsearch

Enhances Magento 2 catalog search with natural-language understanding by matching queries against product embeddings stored in OpenSearch, returning semantically relevant results rather than keyword-only matches.

2
Downloads
Below average
0
GitHub Stars
2mo ago
Last Release
0
Open Issues
Build Passing
Ready to install

Build Tests

Composer Install
DI Compile
Templates

Code Quality

CS Coding Standard
12 warnings
L1 PHPStan

Tested on Magento 2.4.9

Recent Test History

Each release is tested against the latest Magento version at that time.

v1.0.0 on Magento 2.4.9
Jun 1, 2026

Share This Module's Status

Magento 2 Semantic Search Magento compatibility status badge

README

Loaded from GitHub

Magento2 Module: SemanticSearch

sndsabin/module-semanticsearch

Main Functionality

This module uses product embeddings to enhance Magento 2 default search with natural language understanding. It depends on Embedding module to generate the product embedding.

Demo (Default Luma Store)

Model used for this demo: qllama/bge-small-en-v1.5 (384-dim embeddings). Results may vary depending on the embedding model used.

Query: "exercise dress"

Default Search Semantic Search
Default search for exercise dress Semantic search for exercise dress

Query: "pretty dress"

Default Search Semantic Search
Default search for pretty dress Semantic search for pretty dress

Installation

  • Install the module via composer:
composer require sndsabin/module-semanticsearch
  • Enable the module:
bin/magento module:enable SNDSABIN_Embedding SNDSABIN_SemanticSearch
bin/magento setup:upgrade

Configuration

⚠️ This module requires Embedding module, configure Embedding module first. Please refer to this for configuration.

⚠️ After configuration, generate product embeddings by following the instructions here.

This process may take some time depending on your catalog size. You can monitor progress by checking the document count in the configured OpenSearch index.

Go to Stores → Configuration → Semantic Search → Settings

General

  • Enable
    • Set it to Yes to enable the semantic search functionality.

Tested On:

  • Magento 2.4.8
  • PHP 8.4
  • RabbitMQ 4.1
  • OpenSearch 3.3

This content is fetched directly from the module's GitHub repository. We are not the authors of this content and take no responsibility for its accuracy, completeness, or any consequences arising from its use.