"Did you mean" function
General Information on the “Did you mean” Function
With using the “Did you mean” function in the search, we enable users to find desired content even though they entered the search term only partially or the entered search term contains a spelling error. This way, the user can save time and effort, since the search still yields the expected results.
Use Case for the "Did you mean" Function
As agent, I would like the search to be tolerant towards small spelling errors such as typos, so that I do not have to edit the search term to remove every little mistake and can therefore save time.
How can the user see that the “Did you mean” function was triggered?
In case the search yields no results for the entered search term, but yields results for a search term with a similar spelling, these results are displayed in the search result list instead.
The results are displayed the the user as follows: Beneath the input field the notification “No results found for” + originally entered search term is displayed. Beneath that, the search term that was used instead as well as the number of results found in the search using the alternative term are displayed.
When is the “Did you mean” Function active?
Per Default, the “Did you mean” function is activated for the search in Serviceware Knowledge . In case you do not want to use it, the function can be deactivated in the Serviceware Knowledge search settings by the Serviceware Knowledge support team.
When is the “Did you mean” Function triggered?
The “Did you mean” function is triggered, when the search does not yield any results for the entered search term, but there are results for a search term, that is spelled very similarly. If there are no similar search terms (e.g. for “ajdbsfaljb”), the “Did you mean” function does not yield any results.
For more information see: https://www.elastic.co/guide/en/elasticsearch/reference/2.3/search-suggesters-term.html
How does the “Did you mean” function behave with the search operators?
Operator |
Beschreibung |
Beispiel |
* |
If the search does not yield any results, that matches the string in front or following the wildcard operator, the “Did you mean” function is triggered. |
Search term: tarf* No results found for tarf* List shows results for tarif Results: 27 |
“” |
If the phrase search does not yield any results, the “Did you mean” function is triggered. |
Search term: “tarf” No results found for “tarf” List shows results for tarif Results: 27 |