Search Results Window


To use the Search Results window, click the icon in the upper left corner of the storefront and select Search Information then hover over the icon over any search result to see the window.


This window shows basic information about the search result item. It has buttons for additional information about how text relevance is scored for the item. It shows the variation products SKUs that are affected by the search result item, if the search result is a variation master.

You can keep child windows open by clicking the or icon. The icon changes to and closes the window if clicked. The child window also closes if you move beyond the borders of the window.

The category in bold is the path used to navigate to the current search result. This is useful to know if you need to determine the search rank or search placement inheritance of a search result. The SKU in bold for the Represents field is the highest ranked variant found by the search.

If no value is exists for an attribute, it's shown as having Null as the value. This is to represent the fact that a product without a value is ordered after products that do have a value.

Although the best-matches rule includes a sorting rule for Category Position, it isn't shown in this dialog, because the rule was used for a keyword search, and so category position doesn't apply. Instead, the searchable product attributes used to identify the product are shown along with their boosting factor. If you hover over the name of the searchable attribute, you can see the ID of the attribute.

Represents Window

If the product you are inspecting is a variation master, then the individual SKUs of the variations it represents can be examined by clicking the browse button in the Represents field.

Dynamic Attributes Window

Use the dynamic attributes window to understand how a dynamic attribute is calculated.

The main grid for the rule includes the following information:

  • Attribute name
  • Reporting period - the period of time that data is collected for the attribute value. For example, Views (30 days) is the number of product views in 30 days.
  • Weighting - the percentage of the total score from this attribute. For example, Look To Book Ratio [25%] means that 25% percent of the total score comes from the normalized score of the Look To Book Ratio attribute.
  • Summary score - this is the score for the product before the score is weighted and normalized. If you are comparing the value for an attribute in a dynamic attribute to the same attribute in a search result, use the normalized score instead of this score.

Rule Information

If your sorting rule uses a dynamic attribute, additional information is available if you hover over the for the rule.

The extended explanation for the rule has the rule name as the title and includes the following information for each attribute.
AttributeName (Reporting period): AttributeScore

The attribute score is the score for each attribute after it's weighted and normalized. Normalizing scores distributes them from 0 to 1. This has the effect of makes scores more relevant in relation to each other. One common application of normalizing scores is grading "on a curve", so that the letter grade given for a test is determined by the spread between the lowest and highest score, rather than a set score being equivalent to a letter grade.

The attribute score also includes the sorting value, which is the sum of all attribute scores. This is the value that is used to determine the position of the product.

Attribute Information

Information is available for each searchable attribute used in the dynamic attribute if you hover over the for the attribute.

The extended explanation for the attribute includes the following information for each attribute.
  • Direction: the sorting direction is either Ascending, which sorts the search results from the lowest value to the highest (A-Z, 1-100) or Descending, which sorts the search results from the highest value to the lowest (Z-A, 100-1).
  • Weight: the percentage of the total score determined by this attribute. The sum of the weights for all attributes must add up to 100%. For example, if the weight of the Views attributes is 25%, then the weight of the other attributes used in the dynamic attribute must add up to 75%.
  • Values:
    • Min, Max, Avg - the minimum, maximum, and average values for this attribute for all indexed products. It is important to note that these values are determined when the index is built and include all values for all products, not just those returned in a specific result set. This means that you might not be able to find products with the minimum or maximum values in your result set.
    • Default - if an attribute doesn't have data defined for it or the data is stale, this default value determines whether the item is placed at the top, bottom, or middle of search results. The default designation (Default) appears after the number that is the default. If the line reads Min=74 (Default) Max=149219 Avg=9246.0 the default value is 74. You can use the default value to control how Salesforce B2C Commerce treats products that don't have data defined or stale data. For example, if a series of new products are imported that don't yet have sales velocity data, but you want to feature them at the top of a section for "hot items", which sorts by a rule using descending sales velocity; you can set this to Maximum and new items with undefined data are automatically sorted to the top of the search results.
  • Product Value: the value of this attribute for this product.
  • Formula: the formula used to calculate the normalized score for the product search result.
  • Calculation: the values used in the formula to calculate the normalized score.
  • Normalized Value: the normalized score that determines the sorting position of the search result.

Text Relevance Explanation Window

This window is used to examine the text relevance scoring for a search result. It can be used to determine how specific terms found in specific attributes have contributed to the text relevance score. For more information, see Text Relevance Explanation Window.

Related Links

Using the Search Information Tool