Advanced Search 2.0

Since of Shopware 6.5.6.0, AdvancedSearch will only use OpenSearch.

Advanced Search is part of the Commercial extension and is available to you as an extension from the Shopware Evolve plan.

SaaS customers can already use Advanced Search without any further installation.

Advanced Search offers you simple configuration options and high performance due to the OpenSearch basis.

Requirements

Since Advanced Search is based on OpenSearch, an OpenSearch instance is a prerequisite for operation. You can learn how to integrate OpenSearch into Shopware 6 here.

Additionally, the Commercial extension must be installed & activated. More information about the Commercial extension can be found here.

General

The settings for the Advanced Search can be found in the Admin under Settings > Search.
 

Advanced Search can be configured per sales channel (1) and can be enabled/disabled via Enable Advanced Search (2).

In the Hit Count section you define the number of displayed elements for the preview search (1) and the results page (2).

In this section, you will be shown a preview of the search results based on a sales channel without having to go to the storefront.

Sales Channel (1): Select the sales channel where you want to test your search.
Search (2): Enter the term you want to test.
Type (3): Select the type (Product, Category or Manufacturer) of the search term.
Show example (4): Opens a modal with examples of search queries.

Boostings

The boosting settings are available from Commercial Plugin Version 5.5.0.

In addition to the prioritization of individual records to be searched, it is possible to create additional boosts.

A boosting offers you specific configuration options, e.g. to display certain products further up in the search results.

In Sales channel (1) you are shown for which of your shops you are editing a boosting. With New boosting (2) you open the form to define a new boosting. In the lower area (3) you will see existing boostings for this sales channel, with information on whether they are active and in which period. Click on the name or ... > Edit if you want to edit a specific boosting.
General boosting settings
If you want to create a new boosting, some settings are the same for each type of boosting. You can create boostings for products, categories and manufacturers.

To configure a product boost, first enter a Name (1) and the desired boosting relevance in the field Boost (2). This boosting relevance is added to the products' already received relevance. To activate the boosting, click on the Active button (3).
Optionally it is possible to use the boosting only in a certain period of time. To do this, set the period in the fields Active from (4) and Active to (5).
You use the streamtype (6) to decide at which point the relevance is to be increased by this boosting. The three types are described in more detail below.

Stream type product boosting

Existing dynamic product groups are used for the boosting of products. The products that are available in the product group and to which the search query generally applies are given a higher rating.
If you have not yet created a corresponding dynamic product group, we recommend that you do so as a first step.

As stream type select Product Stream, this will display the field dynamic productgroup. In this field you can then choose from the existing dynamic product groups.

Stream type entity stream - category

You can define your own rules for the boosting of categories and manufacturers directly in the boosting modal.

Select Entity Stream as the stream type in the Type field Category.
The option to create rules that are applied to categories is then displayed. This rule configuration is based on the Rule Builder. With this you can create individual conditions on the basis of which the boosting is to be applied.
Stream type entity stream - manufacturer
You can define your own rules for the boosting of categories and manufacturers directly in the boosting modal.

Select Entity Stream as the stream type and in the Type field Manufacturer.
The option to create rules that are applied to categories is then displayed. This rule configuration is based on the Rule Builder. With this you can create individual conditions on the basis of which the boosting is to be applied.

Actions

You can use the actions to define redirects from customers to a product, a category or a URL. This is useful if you want customers to be directed to a desired destination.

For example, if you see that customers often search for something specific, you could create a category with your own content and redirect them there.

If you open the configuration via "Add action", you can enter various points here that will later be used for forwarding.

  • Name: The name will be listed later in the overview of the actions.
  • Search terms: Enter one or more search terms here that should be forwarded to your final destination.
  • Active from / Active to: Define the desired time period here
  • Forward to: Redirect to a URL, category or directly to a product and then define the exact destination in the right area.

With the example configuration, the customer is forwarded directly to the SALE category when searching for the terms "Sale" or "Free" and you prevent the customer from being shown any results in this case.

Synonyms

In search, the use of the term "synonyms" usually refers to the function of search engines or search tools to display alternative terms or expressions that have a similar meaning to the search term entered. This feature helps users refine their search results by presenting them with similar terms or variations that may be relevant.

For example, if someone searches for "car", a search engine could potentially display synonyms such as "vehicle", "motor vehicle" or "passenger car" to provide the user with additional options. This makes it easier to find relevant information and expands the scope of search results.

When creating a new synonym, you have the option of using two different synonym rules. "Equivalence" or "Explicit mapping".

Equivalence

Terms such as "wifi, wlan, w-lan, wireless network" are completely equivalent. You can therefore select the synonym rule Equivalence for these and then enter these terms in the Search terms (1) field. The results for these search terms will then be included on the results page. Then optionally select a language (2) for which this rule should apply.

Explicit Mapping

Terms such as "iPhone, smartphone" are not completely equivalent. However, you may still want all smartphones to be found for the term iPhone. In this case, enter the term iPhone in the Search terms field (1). You can also add several terms here, such as Samsung or HTC.  
Then enter the term smartphone in the Match to field (2). You can also enter several terms here, which will then be used as equivalents.  
Finally, optionally select a language (3) for which this rule should apply.

Was this article helpful?