Summary
We started with an understanding of how spell check works on Solr. We went through the configuration of Solr for creating spell check index and saw different implementations of the spellchecker available with Solr. We understood some of the fine tuning options available in spell check in Solr. Next, we created a field in Solr for doing spell check on book name and author and configured Solr to provide spelling suggestions using this field. We saw a variation of spell check that can be used to provide spelling suggestions for autocompletion. We created a separate Solr index for autocomplete suggestions and saw PHP code that takes a three-character word and provides suggestions from the index.