Spellchecking
We have seen that Solr provides magical support for searching. Solr provides a strong index building mechanism, unifiable search configurations, and providing interesting and expected formatted results by executing various transformation steps on the query output. Spellchecking is an advantageous feature provided by Solr for those who make mistakes while typing a query or may enter an incorrect or inappropriate input. Sometimes, we have this experience while searching on Google. If we enter sokcer
, then Google provides a hint: Did you mean: soccer?
 Or sometimes, typing socer
will directly show results for soccer rather than displaying any hints.
Likewise, there are some scenarios where we need to be careful about the input word:
- If a user enters input search terms with incorrect spelling and there is no matching document available, we use the Solr spellcheck feature, displaying a message that searching for
soccer
instead ofsocer
will give the user a hassle-free experience of...