I have a requirement to implement google-like 'Did you mean?' functionalities. If user make a mistake in typing then I've to show 'Did you mean
[correct search term]'.
What is the best way in sitecore to implement this?
Sitecore Stack Exchange is a question and answer site for developers and end users of the Sitecore CMS and multichannel marketing software. It only takes a minute to sign up.Sign up to join this community
We can achieve this using spellcheck dictionary.
For achieving this in Sitecore using Lucene, download the available source code for "Sitecore Cookbook for Developers" from -
It sounds like you need the SpellChecker package. There are versions of this module for both Lucene and Solr, as well as .NET ports for Lucene.Net (which is what Sitecore uses). Make sure you get the version of the plugin appropriate for the version of Lucene / Solr you are using.
Remember that when dealing with Lucene or Solr, there exists a large community of developers across both Java and Windows platforms. Most search related questions are not particular to Sitecore.