module Sunspot::DSL::Spellcheckable
Public Instance Methods
spellcheck(options = {})
click to toggle source
Ask Solr to suggest alternative spellings for the query
Options¶ ↑
The list of options can be found here: wiki.apache.org/solr/SpellCheckComponent
# File lib/sunspot/dsl/spellcheckable.rb, line 9 def spellcheck(options = {}) @query.add_spellcheck(options) end