TABLE OF CONTENTS
- Searchable Fields
- Relevance Based Ranking
- Query Properties
- Create Triggers
- Create Facets
- Associate Stores
Navigate to: Marketing > Site Search.
Search Profiles are specific to catalogs. They indicate the rules based on which the search feature would find out the results on the webstore associated with the respective catalog. Create a Search Profile
Navigate to Marketing > Site Search.
Search Settings page opens.
Click Search Profiles.
Click Add New.
Add Search Profile page opens as shown below.
Provide a unique Search Profile Name.
Select the Catalog for which the search profile needs to be created you want to create the search profile like in the following instance a profile named Maxwell Default Search Profile is created.
For the Maxwell Default Search Profile profile, there are various search refinement parameters that have been provisioned like the searchable fields, relevance-based ranking, query properties. Specify the Searchable Fields, Relevance, and Query Properties.
Administrators can test the configurations by using the search box to the right.
The fields added here will be used for searching the entered text. Provide a boosted score to increase the relevance of that field.
Relevance Based Ranking
The relevance of the search results is set basis the numeric property selected here.
Match: This query will search for the specified text in only one Searchable field. Using the Minimum Should Match option, you can specify the minimum number of words from the search query that must match the content of the Searchable field.
Minimum Should Match can have the following possible values:
Any three should clauses must match the content of a searchable field.
The total number of should clause* minus two must match the content of a searchable field.
Example: User is searching for “Floral Bouquet Set”, then
(3*75%) = round down(2.25) = 2 Hence, any two should clause must match the content of the searchable field.
The number computed from the percentage is rounded down, before being subtracted from the total should clause to determine the minimum.
A Total number of should clauses is equal to the number of words in the phrase searched.
Match Phrase: This query matches if the terms are present consecutively in the same order.
Match Phrase Prefix: This query adds different suffixes to the last term in the searched text similar to auto-complete. Use the Max Expansion option to restrict the number of suffixes; by default, it is set to 50.
Multi-Match: This query will search for the specified text in more than one searchable field. It has two types:
Best: Used when text must appear in the same searchable field.
Cross: Used when text can be spread across multiple searchable fields.
The operator OR: Give results where either of the words from the phrase exists in the searchable field.
Operator AND: Give results where all the words in the phrase exist in the searchable field.
AutoCorrect: This means the number of one character changes that need to be made to one word to make it the same as another word. The maximum number of edits allowed is 2; by default, the value is AUTO:3,6.
AUTO means the number of edits allowed is generated on the basis of the length of the term.
If phrase length is 0 to 2: no edits are allowed and the word must match exactly
If phrase length is 3 to 5: One edit is allowed
If phrase length is > 5: Two edits are allowed
The administrator can try the search results under Try it yourself here section by specifying a search phrase and click Go.
Edit Search Profile page opens with more configuration options.
This is an optional step where the search profile can be associated with a specific user profile or keywords.
Under the Edit Search Profile, click the Triggers tab.
Click Add New. Once that is done then a keyword with name apple is created for an anonymous type user profile
Add Triggers page opens.
Select User Profile as Anonymous.
Save Progress on clicking Save.
Under the Edit Search Profile, click the Facets tab.
Click Associate Facets.
Select the Facets.
Click on the required number of attribute names to associate facets.
Once associated, all the associated facets are visible as shown below.
If the administrator decides to delete a particular associate facet then by clicking on the delete button provided the same facet would be deleted.
Under the Edit Search Profile, click the Stores tab.
Click Associate Stores.
Select the Store(s) on which the search profile should be applicable. Stores having the selected Catalog are displayed.
Click Associate Stores.
Note: Only after the Store association is made can a Search Profile be set as Default.