Weight Search is the tool which supports the sellers allocate a weight for product attributes when they want these attributes to be preferred to appear in search results than other attributes.
For example, there are two attributes that are Color and Brand. The Color with a search weight of 1 and the Brand with the search weight of 2. When the customers search the word “ white”, the result returned would be a list of products with a Color attribute value of “white” and the Brand includes the word “white” doesn’t appear in this result. That means the color attribute has a higher weight than the Brand attribute.
Admin sidebar, click
Store. In the
Attributes column, select
Choose the attribute you want to allocate a weight in the list, click to open this record in edit mode.
Storefront Properties in the
ATTRIBUTE INFORMATION column.
Yesin Use in Search field.
10in Search weight field. The lowest value is 1 and the highest is 10. If you don’t choose any value, all the attributes have the search weight of 1.
Save Attribute to complete.
It comes to the end of tutorial: Magento 2 Weight Search.