Your search pass configuration is the heart of the search. It determines which search fields are used at what time.
Procedure
- Open the Business Manager.
- Go to the page.
- The Overview search passes page displays the following information:
-
Search pass
-
Name of the search pass. Click the search pass to open its properties.
-
Display conditions
- Always show, Don't show if—option to determine if the results of a pass are always shown or not shown if the condition is met.
-
Relevancy
-
Factor to determine the relevancy of a search pass. A higher number will assign a higher relevancy.
-
Ranking
-
Drop-down boxes to determine the order of the search passes. Pick from 1 to 5.
-
Delete
-
Option to delete search passes.
- Click Add pass to create a new search pass or click a search pass to access its settings:
-
Details
- Name—the name of the search pass.
- Component—the class that implements the search pass:
UniqueIdPass—used for searching in identifiers such as product codes, item numbers, and so on. This pass only returns items with exact matches. After this pass, the other passes are not executed.
PhrasePass—returns items with exact matches of all keywords/phrases and their synonyms.
PrefixPass—returns all items with partial matches of all keywords. The first few characters must be identical.
SpellCheckPass—returns all items with matches of spell correct keyword. Alternatively, shows only possible corrections.
MaxTokenPass—returns all items with exact or synonym matches of a subset of the keywords.
-
Search fields
-
Each search field has status and relevancy:
- Status—green or red dot indicates the search field is on or off respectively.
- Relevancy—the number indicates the relevancy/ importance.
-
Settings
-
Hover over the setting to view the tooltip for the setting.
- It is recommended to create four search passes:
- ID pass
- EXACT pass
- SPELL CHECK pass
- OR pass
- Configure the SPELL CHECK and the OR pass so that they are only executed if no results are returned in the strict passes: Set the Display conditions of SPELL CHECK and OR passes to Don't show if other results > 0.
- If the ID displays a red dot, click ID so that it turns green to indicate it is active. Click the ID search pass to open the Search pass settings for ID and click your ID attributes to green. Repeat the procedure for EXACT, SPELL CHECK and OR and specify the fields you want to do the search passes on.
- Click Apply to save changes.
Results
The passes are executed from top to bottom going from strict (ID, EXACT) to loose (SPELL CHECK, OR):
- Fredhopper first checks whether the user is searching for an
ID (ProductID, ISBN, and so on).
- If not, an
EXACT match is executed looking for products which exactly match the user's search query: synonyms, lower/upper case differences, plural/singular differences and so on are all handled as exact matches.
- If there is no exact match to the user's query, Fredhopper performs a spell check (for example
addidas -> adidas) and provides a spell check feedback for example: your search for "addidas" gave 0 results, we also searched for "adidas").
- If the spell check does not find anything, Fredhopper performs an OR search, for example red adidas shoes becomes red shoes or
adidas shoes or adidas red)