Depending on your store catalog, some search index fields might be more relevant than
others for when shoppers search in the store. You can fine-tune the relevancy of search index fields
to improve search results that are based on your store catalog. The relevancy can be scoped to
either the site level or to the category level.
The following table shows sample relevancy values
assigned to search index fields:
Default relevancy values for search index fields
Search index field
Default relevancy value
categoryname
100.0
partNumber_ntk
15.0
mfName
10.0
name
10.0
shortDescription
5.0
shortDesc_suggest
1.0
partNumber_suggest
1.0
name_suggest
1.0
defaultSearch
1.0
Tip: If your business users enter catalog information into the long description
field instead of the short description, you might want to work around this issue by copying the
information into the first few lines of the long description to quickly generate the short
description. Then, boosting is applied accordingly to the short description.
Before you begin
Ensure that your site contains attribute dictionary attributes, marked as searchable or
facetable, for which you want to change relevancy settings.
Procedure
Run a keyword search in the storefront and identify the search results that you want to
improve.
For example, your catalog might result in displaying more relevant search results lower
than you want them to appear.
Update the SRCHPROPRELV table and change the relvalue for the
search field you want to change the relevancy for:
Run the following SQL statement:
update srchproprelv set relvalue = rel_value
where srchproprelv_id in (select srchproprelv_id from srchproprelv
where indexfield in (select lower(srchfieldname) from attrdictsrchconf
where attr_id in (select attr_id from attr where identifier in ('identifier')))));
Where:
rel_value
The relevancy value for the field. The default value is typically 1.0. To boost
the field relative to the other default search index fields, enter a value greater than
1.0 for example, 10.0.
identifier
The field identifier for example, Color or Size.
Perform the same keyword search again in the storefront and compare the search results with the
initial search results. Continue to update search relevancy values to optimize the search
results.