Previewing AI Search results

To evaluate search engine results or review specific outcomes for a customer, utilize the Preview feature within the AI Search Engine. Additionally, you have the option to compare results from two different indices.

The Preview section of a selected index
The Preview section of a selected index
  1. Go to AI Search icon AI Search > Indexes.
  2. Select an index from the list.
  3. Go to the Preview section.
  4. In the search box, type any phrase to see the results you get from particular words.
  5. To see the product recommendation for a specific customer, paste the UUID of the customer.
Product attributes
Product attributes

Editing preview attributes


You can set the preview attributes by clicking Edit preview attributes. By changing the preview attributes, you can control the attribute values that will appear in the preview.

More information about attributes for preview is available here.

Note: This setting is mutual for the Recommendation preview as well as the AI Search Engine preview.

Comparing indices


Comparing indices allows you to assess results they return. Before entering any search query, you can apply filters within each index.

  1. Click Compare results.
    Result: A pop-up appears.

  2. From the Select index dropdown list, select the index with which you want to compare the index you’re previewing.

  3. Confirm your choice by clicking Apply.
    Result:

    Comparing index 1 and index 2
    Comparing index 1 and index 2
  4. In the search box, enter a query so you can compare the results produced by each index.

Query and ranking details


Query and ranking details extend the search preview with transparent insights into the generation of search results, including query transformations, applied rules, filters, sorting details. Its purpose is to improve satisfaction by making search results more explainable and transparent, helping you understand the mechanics of generating results. It aims to improve transparency and simplify debugging for you.
Query and ranking details are available for all search methods (hybrid, keywords, semantic).

Query details

In the Query details section, which is available after performing a search request, you can review the modifications made to the original search phrase in a search query. Several factors contribute to these modifications:

The query details option in the search preview
The query details option in the search preview
  1. General overview - This section provides an overview how the original search phrase has been changed due to rules, synonyms, and suggestions from the search engine, focusing specifically on numbers.

    • Phrase typed by a user - This is original search phrase entered by the user.
    • Final searched phrase - This is the final phrase for which the search request was made; it’s changed as a result of applying rules, synonyms, and suggestions from the search engine.
    • Query rules that have changed phrase - This section shows how many rules have been applied to the original phrase.
    • Used synonyms - This section shows how many synonyms were searched and their results added to the search results.
  2. Query transformation - This section shows a list of applied rules to the original searched phrase. The rules provide IF - THEN logic that lets you influence the search results. This way you can manage the behavior of the search engine by telling it to promote specific products, replace the query or a word in the query or remove a word from it in specific circumstances.

    • The condition that has been met - This column shows the rule condition met by the original query.
    • Consequence - This column shows what changes have been made to the original searched phrase.
  3. Used synonyms - This section shows a list of applied two-way synonyms to the original searched phrase. Two-way synonyms work in two directions. For example, if “telephone”, “smartphone”, and “phablet” are two-way synonyms, searching for “smartphone” or “phablet” also shows the results for “telephone”.

Ranking details

In the ranking details section, you can check how the rules, sorting and ranking settings have impacted the listing of search results.

The ranking details option in the search preview
The ranking details option in the search preview
  1. General overview:

    • Items found - This section shows the total number of items that matched the query (including hidden items; an item can be hidden as a consequence of the applied rules).
    • Hidden items - This section shows the number of all items that are hidden as a result of the rules applied to the searched phrase.
    • Promoted items - This section shows the number of items promoted as a result of the rules applied to the searched phrase.
    • Ranking sorting type - This section shows the method of sorting search results. This value is definable in Sortable attributes of the index settings.
    The preview of Overall details
    The preview of Overall details
  2. Hidden items - This section shows a list of items (name and item ID) hidden from the results. Items can be hidden due to query rules.

  3. Search results filters - This section shows a list of rules whose consequence is Filter query results. The Conditions column shows the conditions of the rule and the Consequences column shows the changes that are made to the results.

  4. Boosted attributes - This section shows a list of rules whose consequence is Boost by attribute. The Conditions column shows the conditions of the rule and the Consequences column shows the changes that are made to the results.

😕

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