-
Notifications
You must be signed in to change notification settings - Fork 3
Smart Did You Mean
Dominik Brader edited this page May 19, 2019
·
3 revisions
This article contains development features that are not yet available in the
master
branch. Some information may still change or can't be found in this article at all.
We also support Smart Did-You-Mean functionality out of the box, with some neat helper functions. If you do not know what Smart Did-You-Mean is or how it works, please refer to the FINDOLOGIC Documentation about Smart Did-You-Mean.
To implement Smart Did-You-Mean, you only need the tirade of functions.
-
getType()
: Returns the type of the query. Eitherimproved
orcorrected
. -
getOriginalQuery()
: The original query from the XML response. -
getAlternativeQuery()
: If it was a did you mean suggestion, returns thedidYouMeanQuery
, otherwise take thequeryString
.
Documentation is up to date with version:
Version v1.x