Executes a search using the suggested query correction.
Typically, you should only call this method when state.hasQueryCorrection
is true
and state.wasAutomaticallyCorrected
is false
.
When this is the case, you could call this method when the user clicks a link to search with the suggested query correction rather than
with the query they originally submitted.
Adds a callback that's invoked on state change.
A callback that's invoked on state change.
A function to remove the listener.
The
DidYouMean
controller is responsible for handling query corrections.