Promoting new items when a certain phrase is searched

Published May 20, 2022
Selected Clients
newbalance logo

AI Search Engine enables creating rules which can help you promote items with specific attributes, based on the searched phrase. One of the applications is to create a rule which shows new products to customers based on selected phrases.

This use case will help you create a rule in AI Search that promotes new models of TVs when the customer is searching for a TV.


  • An item feed must be provided.
  • Enable the search engine for your workspace and create an index.
  • Add an attribute which marks items as new in your items catalog and add this attribute to filterable attributes. In this example, the attribute is the value “new” in the G:adwords_labels attribute.
  • Implement AI search in any of your channels (mobile app, website etc.).

Create a rule

  1. Go to AI Search icon AI Search > Indexes.

  2. Select an index from the list.

  3. Go to the Rules section.

  4. Click Add Rule.

  5. Name the rule. In this case, it’s “Promote new TVs”.

  6. To adjust the query conditions, in the Conditions section, click Define.

    1. On the Query tab, to define the method of checking the query, choose If query is.

    2. Click Add phrase.

    3. Enter a phrase. You can do it in two ways:

      • In text field, type a word (or a phrase) in a singular form.
      • Next to the text field, click the Facet icon in Query rules button. From the dropdown list, select a facet. It is different from defining an exact query: you can define an attribute whose values the query looks for. For example, if you choose brand as the facet, the query rule will apply its consequence whenever any brand name is detected in the query.
      Example of phrases
      Example of phrases
    4. If you want to add more phrases, repeat steps b and c.

    5. Confirm the settings by clicking the Apply button.

  7. To define how the search engine reacts to the defined conditions, in the Consequences section, click Define.

    1. Click Add consequence.
    2. From the dropdown list, select a consequence, in this case Filter query results.
    3. Add filter and choose attribute G: adwords_labels.
    Note: The attribute can have a different name in your workspace, the above is an example.
    1. In the next field choose new.
    2. Enable the Mark as elastic option.
    Example of condition consequences
    Example of condition consequences
    1. Confirm by clicking Apply.
  8. To define when the query rule applies, in the Schedule section, click Define.

    1. Select an option:
      • To launch query rules immediately, click Active immediately.
      • To schedule the rules at specific time, click Scheduled. Set the schedule according to your business needs.
    2. Confirm by clicking Apply.
  9. To complete working on the query rule, you can either:

    • Save it as a draft by clicking Finish later.
    • Save and activate it by clicking Publish.

Result: If you chose Publish the rule will take effect in those areas where AI search has been implemented, according to the schedule you set.

Check the use case set up on the Synerise Demo workspace

You can check the rule configuration directly in Synerise demo workspace.

If you don’t have access to the Synerise Demo workspace, please leave your contact details in this form, and our representative will contact you shortly.

Read more


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.



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