Did You Mean
If you are working with Primo VE and not Primo, see Linguistic Features for Primo VE.
Changes to the Did You Mean configuration files have no effect on the results returned from remote searches, Central Index, or any other deep search adaptor.
The Did You Mean Algorithm
A Did You Mean link does not automatically display in the Front End when the user performs a search. A threshold must be met before Primo invokes the Did You Mean function. Primo will display a Did You Mean suggestion only when a query returns less results than specified for the threshold, which is defined with the didyoumean_threshold/res_threshold parameter in the search_schema.xml file. The default threshold value is 50.
The system does not apply this threshold to searches that include Central Index results.
In addition to this threshold, Primo checks the query terms against a dictionary and invokes the Did You Mean function if a term is found to be incorrect. If the query is a phrase, the function replaces only incorrect terms in the Did You Mean suggestion.
The Did You Mean algorithm works separately on every term within the query.
If a search query returns less than 50 results, the Did You Mean algorithm performs the following:
Disabling the Did You Mean Feature
-
Do not create the Did You Mean index.
-
Configure the following parameters in the Did You Mean section on the Advanced Configuration > Search Engine Configuration page and then deploy the Search Engine Configuration option on the Deploy All page:
-
Set the Maximum Results for Did You Mean parameter to -1.
-
Clear the Use Rank Threshold check box.
-