Solr Spell Checking Addition

Just committed SOLR-572 yesterday, which adds a spell checking component to Solr.  Now, Solr had a spell checking request handler before, but a component is slightly different.  Request Handlers require separate calls, whereas a component can be inlined in a request.  Essentially, a Request Handler can be made up of one or more SearchComponents.

What this means, is that one can now get back search results for the given query, and get spelling suggestions at the same time, pretty much like Google’s “Did You Mean” functionality (but probably not the same quality, as they have a much bigger corpus and probably use user feedback as well.)

For details on how to use it, try out the Solr example in the source distribution and see the Wiki docs.

Also note, that it allows one to plug in their own spell checker (or a commercial one) or use the Lucene spell checker.

Leave a Reply

*
To prove that you're not a bot, enter this code
Anti-Spam Image


vpn proxy vpn service