STR - Search Attribute
Overview
Promote products or content with a search term match on the selected attribute.
WPOS | Use Cases | Mode | Requirements |
---|---|---|---|
ALL | You will need to select the name of the product attribute you want to add or change the weight in case of a search term match. |
* the Use Cases configuration is provided as SCORER with a default weight of 500.
Variables
field: the name of the product attribute
Cases to consider
By default, only these 3 fields are available (ask Boxalino to activate others)
“title” (the name of the product, default weight if not configured: 10)
“body” (the description of the product, default weight if not configured: 2)
“scorerTerms” (all other textual attribute values of the product, default weight if not configured: 1)
If you define one of these 3 attributes, then you must define the two others as well, otherwise, the search will stop searching at all in these attributes which will greatly affect the quality of your search!
How to configure it?
You can import the JSON below directly in the Admin (use the Import button on the top right), as in this screen-shot, you will need to select a field (product attribute) and replace the default value (title) with a value
You can use the search icon on the right of the field and values parameter to get help to select the right field and value.