Class: Solr::Query::Request::Spellcheck::Default
- Inherits:
-
Object
- Object
- Solr::Query::Request::Spellcheck::Default
- Defined in:
- lib/solr/query/request/spellcheck.rb
Instance Method Summary collapse
- #collated? ⇒ Boolean
- #collated_search_term ⇒ Object
- #disabled? ⇒ Boolean
- #previous_search_term ⇒ Object
- #to_h ⇒ Object
Instance Method Details
#collated? ⇒ Boolean
48 49 50 |
# File 'lib/solr/query/request/spellcheck.rb', line 48 def collated? false end |
#collated_search_term ⇒ Object
46 |
# File 'lib/solr/query/request/spellcheck.rb', line 46 def collated_search_term; end |
#disabled? ⇒ Boolean
52 53 54 |
# File 'lib/solr/query/request/spellcheck.rb', line 52 def disabled? false end |
#previous_search_term ⇒ Object
44 |
# File 'lib/solr/query/request/spellcheck.rb', line 44 def previous_search_term; end |
#to_h ⇒ Object
31 32 33 34 35 36 37 38 39 40 41 42 |
# File 'lib/solr/query/request/spellcheck.rb', line 31 def to_h { spellcheck: true, 'spellcheck.dictionary': 'spellcheck', 'spellcheck.count': 1, 'spellcheck.collate': true, 'spellcheck.maxCollations': 1, 'spellcheck.collateExtendedResults': true, 'spellcheck.maxCollationTries': 1, 'spellcheck.onlyMorePopular': true } end |