Implementing Synerise AI Search

The Synerise AI Search feature is available from the Magento plugin version 3.1.1 and higher.

You can use Synerise AI Search engine for product listing on category pages and in quick search on the website of your shop. However, advanced search is not supported, so ensure that its pages are disabled in your shop’s theme.

Benefits:

  • Personalized search results
  • Ability to analyze search statistics based on search events which will be available in profile’s event history in Synerise
  • Ability to elevate the engine performance by defining advanced options such as item ranking for sorting search results, management of typos and missing words, synonyms, query rules, query suggestions, A/B testing

Prerequisites


  • Integrate Synerise with Magento.

  • Make sure your API key has the following permissions:

    • ITEMS_SEARCH_CONFIG_SEARCH_CREATE,
    • ITEMS_SEARCH_CONFIG_SEARCH_UPDATE,
    • ITEMS_SEARCH_CONFIG_SEARCH_READ,
    • ITEMS_SEARCH_SEARCH_READ
  • In the Magento panel (Stores > Attributes > Product), review attributes which will be available for selection as searchable, filterable, and sortable attributes, and decide if you want to add some or remove them. You will always manage these attributes in Magento settings, and the plugin automatically transfers those settings to Synerise. During and after completing the integration, you should not change these settings in the Synerise search index used with your Magento shop.

    Option name Value Result
    Use in Search Yes An attribute is available on the list of searchable attributes
    Use in Layered Navigation Yes An attribute is available on the list of filterable (facetable) attributes
    Use in Search Results Layered Navigation Yes An attribute is available on the list of filterable (facetable) attributes
    Used for Sorting in Product Listing Yes An attribute is available on the list of sortable attributes
    Assigning an attrtibute to be available on the list of searchable, filterable, and sortable attributes
    Assigning an attribute to be available on the list of searchable, filterable, and sortable attributes

Procedure


The following steps must be performed in the given order:

  1. Enable search item attribute synchronization (Magento)
  2. Configure AI engine for the catalog (Synerise)
  3. Prepare a search index (Magento)
  4. Select attributes for the search index (Magento)
  5. Select the search engine (Magento)

Optionally, you can review and use advanced search index features in the Synerise platform.

Enable search item attribute synchronization


In this part of the process, you will enable synchronization of item attributes used in search. These attributes will be available in Synerise in Data Management > Catalogs, in a catalog named store-{id}, where {id} is the ID of the store.

  1. In the Magento platform, go to Marketing > (Synerise) Configuration > Data.

  2. Scroll to the Products section.

  3. Recommended: Set the value of Include attributes used in search to Yes.
    This way all attributes used for searching (attributes selected as searchable, filterable, sortable in the configuration in Magento as a part of prerequisites) will be sent to Synerise catalog. We strongly recommend selecting this option when using Synerise AI Search.

  4. Set Selectable attribute value to ID & Label.
    This setting allows you to send both the labels (for example, “red”, “shoes”, “XYZ brand”) and IDs of the attribute options. Selecting this option lets search users search and sort results using the labels.

    Configuration of the Products section in Magento
    Configuration of the Products section in Magento
  5. To confirm the settings, click Save Config.

  6. Clear configuration cache in System > Cache Management by performing the following steps:

    1. Select the checkbox next to Configuration cache type.
    2. Set the option above the table to Refresh.
    3. Confirm the action by clicking Submit.
    Cache management section in Magento
    Cache management section in Magento
  7. Schedule full synchronization of data for the Product model to reflect the changes you made to the configuration.

Configure AI engine for the catalog


In this part of the process, you will create an item feed in Synerise using the Synerise catalog, which receives synchronized data from Magento (you can find it in Data Management > Catalogs under the name in the following format: store-{id}, where {id} is the ID of the store). Additionally, you will configure the AI engine for this feed.

If you already created a feed from the store-{id} catalog, make sure the search engine is enabled for the existing feed in its configuration and skip this part of the process as creating multiple feeds from the same catalogs is impossible.

  1. In Synerise, go to Data Management icon Data Management > Catalogs.

  2. Check the list for the catalog named store-{id} (where {id} is the ID of the store).

  3. If:

    • you find it, check whether its structure is consistent with the changes you made in “Enable search item attribute synchronization”. If not, wait until the catalog is updated.
    • the catalog isn’t created yet, wait until it appears on the list. The duration of creating a catalog depends on the data load.
  4. Go to Settings icon Settings > Configuration > AI Engine Configuration.

  5. In the upper right corner, click Add feed.
    Result: A pop-up appears.

  6. On the pop-up, select Catalog.

  7. As the catalog type, select Data catalog.

    Selecting a catalog and its type
    Selecting a catalog and its type
  8. From the list of catalogs, select the catalog that receives synchronized data from Magento.
    The catalog’s name is store-{id}, where {id} is the ID of the store. If the catalog isn’t in the list, make sure that it’s not already used in another feed.

  9. Confirm by clicking Apply.
    Result: The feed is created and added to the list.

  10. On the list, find the feed you have just created and click the Three dot icon icon and then Edit.

  11. On the Applied search engines section, click Show.

  12. Enable the Search engines toggle.
    Result:

    Enabling Synerise search
    Enabling Synerise search

Prepare search index in Magento


In this part of the process, you will create and/or select a Synerise search index for a store view. If you don’t have any indexes, creating one in the Magento plugin settings will also create it in Synerise, as described below.

  1. Go to Marketing > (Synerise) Search Indexes.
  2. Click Assign Search Index.
  3. Select the store view for which the search will be applied.
  4. To:
    • assign an existing index to the store view:
      1. Set Create to No.
      2. From Select, choose the index. The list contains the indexes from the Synerise platform (AI Search icon AI Search > Indexes)
        Selecting a search index
        Selecting a search index
    • create a new index:
      1. Set Create to Yes.

      2. In Name, enter the name of the index.

        Creating a search index
        Creating a search index

        Result: The index will also be available in the Synerise platform in AI Search icon AI Search > Indexes.

Select attributes for the search index


In this part of the process, you will select searchable, filterable (facetable), and sortable attributes that will be available for use in search. This is the primary location for managing filterable, searchable, facetable, and sortable attributes. The scope of attributes available for selection is determined by the setup you defined as a part of the prerequisites.

  1. Go to Marketing > (Synerise) Search Indexes.
  2. Find the search index for which you want to select attributes.
    List of search indexes in Magento
    List of search indexes in Magento
  3. For that index, from the Action column, click Setup.
  4. Select searchable, filterable (facetable), and sortable attributes.
    List of attributes in Magento
    List of attributes in Magento

Select search engine


In this part of the process, you will select the Synerise search engine in the configuration of the Magento platform.

  1. In Magento, go to Stores > Configuration > Catalog > Catalog Search.
  2. In Search Engine, select Synerise AI Search.
  3. Optionally, set Disable “Catalog Search” index to Yes.
    Such configuration removes unused search engine indexes from the reindex list.
    Selecting search engine
    Selecting search engine

Advanced search index features


This part of the process is optional.

To define advanced options which let you optimize search engine performance:

  1. In Synerise, go to AI Search icon AI Search > Indexes.
  2. Find the search index you selected in “Prepare a search index in Magento”.
  3. Open the details of the search index by clicking its name on the list.
  4. You can edit or define the following options:

Additionally, you can make use of other features available in the AI Search:

😕

We are sorry to hear that

Thank you for helping improve out documentation. If you need help or have any questions, please consider contacting support.

😉

Awesome!

Thank you for helping improve out documentation. If you need help or have any questions, please consider contacting support.

Close modal icon Placeholder alt for modal to satisfy link checker