Class AjaxSolr.AbstractSpellcheckWidget
Extends
AjaxSolr.AbstractWidget.
AbstractSpellcheckWidget
Defined in: AbstractSpellcheckWidget.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Interacts with Solr's SpellCheckComponent.
|
Method Attributes | Method Name and Description |
---|---|
constructor(attributes)
|
|
An abstract hook for child implementations.
|
|
Uses the top suggestion for each word to return a suggested query.
|
- Methods borrowed from class AjaxSolr.AbstractWidget:
- doRequest, init
Class Detail
AjaxSolr.AbstractSpellcheckWidget()
Interacts with Solr's SpellCheckComponent.
- See:
- http://wiki.apache.org/solr/SpellCheckComponent
Method Detail
afterRequest()
beforeRequest()
constructor(attributes)
- Parameters:
- attributes
handleSuggestions()
An abstract hook for child implementations.
Allow the child to handle the suggestions without parsing the response.
{String}
suggestion()
Uses the top suggestion for each word to return a suggested query.
- Returns:
- {String} A suggested query.