Log in
Model

SynonymGroupRepository

Magento\Search\Model\SynonymGroupRepository

What it does

This repository class manages synonym groups in Magento's search functionality, allowing developers to save, retrieve, and delete groups of synonymous search terms.

It handles merge conflicts when synonym groups overlap and ensures synonyms are properly scoped to websites and stores.

Developers use this when implementing custom search synonym management or extending Magento's search capabilities.

Public Methods

  • save()
  • delete()
  • get()