Introduced in Feature Pack 2

Action: Change Search Result Order

Use this action in a search rule to change the position of certain results within the search results list.

Catalog entries that meet certain criteria can be ranked higher to promote specific catalog entries over others for a specific customer search.

Feature Pack 6 or laterConversely, catalog entries that meet certain criteria can be ranked lower to demote specific catalog entries under others for a specific customer search.

Search ordering options

Note: The sorting order that is specified by the shopper always takes precedence over the way this action changes the search results order.

Relevancy scores

When you change how search results are ranked, you are working with their relevancy scores. Store search results are ordered by relevancy scores by default, from the most relevant matches to the least relevant matches.

You can view the relevancy score of catalog entries in store preview with WebSphere Commerce search. The relevancy score is displayed in search results in the following form:
  • Feature Pack 4Feature Pack 2Feature Pack 3Relevancy score: relevancy_score
    For example:
    Relevancy score in the Madisons starter store
  • Feature Pack 5 or later[relevancy_score] product_name
    For example:
    Relevancy score in the Aurora starter store

Change how initial search results are ranked

Use ranking to promote or demote catalog entries that meet specific criteria.

Feature Pack 4Feature Pack 2Feature Pack 5Feature Pack 3

Change how initial search results are ranked using boost factors

When ranking initial search results, you must specify a boost factor. Boost factors are specified as a positive number, and elevate catalog entries in search results by increasing their relevancy score. Assigning higher boost factors typically corresponds to higher relevancy scores for catalog entries. As a result, catalog entries with higher boost factors appear higher in store search results.

Boost factors can be assigned for the following ranking criteria:
  • Manufacturer name
  • Part number
  • Manufacturer part number
  • Catalog entry type
  • Name
  • Short description
  • Category
You can experiment with different boost factor values to achieve the wanted ordering of the catalog entries in the result set.
Note: Increasing boost factors increases the relevancy score of catalog entries. It does not, however, guarantee elevating the catalog entries to the top of the search results. The boost factor that you specify in this action determines the position of the specified results relative to the other search results. However, if you specify a high boost factor value, for example, 999, it is likely that the catalog entry appears at the top of the search result. That is, provided it is already returned in the initial search results.

As an alternative, if you want to promote catalog entries that are not part of the initial search results, you can use the Specify Top Search Result action.

Feature Pack 4Feature Pack 2Feature Pack 5Feature Pack 3

Example: Promoting search results using boost factors

You can promote certain search results by assigning high boost factors for searches that match certain keywords.

For example, when a customer searches for coffee maker, you can assign a higher search priority to catalog entries manufactured by the AromaStar brand by increasing its boost factor by 4 when matching certain keywords. As a result, the AromaStar brand's coffee makers display higher in the search results list than they would by default.

If specific catalog entries manufactured by that brand have a low relevancy score (for example, products that are not coffee makers), it is unlikely that they rise to the top of the results. Other catalog entries of that brand that have an average relevancy score most likely rise towards the top of search results.

The following screen capture shows this example in the search rule builder:
Search rule to boost AromaStar coffee makers

Conversely, you can demote certain search results by assigning high boost factors for searches that do not match certain keywords.

For example, when a customer searches for coffee maker, you can assign a lower search priority to catalog entries manufactured by a certain brand by increasing its boost factor when not matching certain keywords. As a result, that brand's coffee makers display lower in the search results list than they would by default.

If specific catalog entries manufactured by that brand have a low relevancy score (for example, non-coffee makers), it is likely that they lower to the bottom of the results. Other catalog entries of that brand that have an average relevancy score most likely lower towards the bottom of search results.

Feature Pack 6 or later

Change how initial search results are ranked using ranking factors

When ranking initial search results, you must specify a ranking factor. Ranking factors are specified as a positive number, and promote or demote catalog entries in search results by increasing or decreasing their relevancy score. Assigning higher ranking factors typically corresponds to higher relevancy scores when catalog entries are promoted, or lower relevancy scores when catalog entries are demoted. As a result, catalog entries with adjusted ranking factors appear higher or lower in store search results.

Ranking factors can be assigned for the following ranking criteria:
Property
The property to be used as a filter.
The following properties are available by default:
  • Code
  • Inventory
  • Manufacturer Name
  • Manufacturer Part Number
  • Name
  • Short Description
Note: Search rule actions and targets in the Management Center dynamically populate a list of catalog entry indexed properties. Your IT administrator must customize WebSphere Commerce search when new indexed catalog entry properties are added to search rule actions or targets. For more information, see Adding catalog entry properties to search rule actions or targets.
Catalog entry type
The catalog entry type to be used as a filter.
The following catalog entry types are available by default:
  • Product
  • SKU
  • Bundle
  • Kit
  • Dynamic Kit
Attribute Dictionary Attributes
Attribute Dictionary Attributes with predefined values and marked as Use in merchandising to be used as a filter.
Category
The category to assign ranking factors. For example, Apparel.

You can experiment with different ranking factor values to achieve the wanted initial search result ranking for the catalog entries in the result set.

Feature Pack 6 or later

Promoting and demoting search results using a filter

You can promote or demote search results by using a filter for searches that match certain keywords. Higher rank factors lead to search results ranked higher when promoted, or lower when demoted.

For example, when a customer searches for cocktail dresses, you can assign a higher or lower search priority to catalog entries manufactured by a certain brand by adding filters for promotion or demotion for certain keywords. As a result, that brand's cocktail dresses display higher or lower in the search results list than they would by default.

In this example, when a customer searches for cocktail dresses, you can assign a high search priority for catalog entries that are manufactured by the Versatil brand by increasing its ranking factor for promotion by a value of 35.

The following screen capture shows this example in the search rule builder:
Search rule to promote Versatil cocktail dresses

When promoting, if specific catalog entries manufactured by that brand have a low relevancy score (for example, non-cocktail dresses), it is unlikely that they rise to the top of the results. Other catalog entries of that brand that have an average relevancy score most likely rise towards the top of search results.

When demoting, if specific catalog entries manufactured by that brand have a low relevancy score (for example, non-cocktail dresses), it is likely that they lower to the bottom of the results. Other catalog entries of that brand that have an average relevancy score most likely lower towards the bottom of search results.

Change how initial search results are sorted

When initial search results are ordered, you must specify the sort criteria and sequence.

Search results can be assigned the following sort criteria:Introduced in Feature Pack 2
  • Manufacturer name
  • Name
  • Offer price
Notes:
After a sort criteria is specified, search results can be assigned the following sequence types:
  • Ascending
  • Descending

Prerequisites for using this action

You must complete the following tasks to use this action:

Guidelines for using this action

When this action is setup, you must:
  • Feature Pack 4Feature Pack 2Feature Pack 5Feature Pack 3Ensure that the boost factor values assigned for search result ranking is a positive number, ranging from 1 to 999.
  • Feature Pack 6 or laterEnsure that the ranking factor values assigned for search result ranking is a positive number, ranging from 1 to 999.