Class Index | File Index

Classes


Class AjaxSolr.AbstractSpellcheckWidget


Extends AjaxSolr.AbstractWidget.
AbstractSpellcheckWidget
Defined in: AbstractSpellcheckWidget.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Interacts with Solr's SpellCheckComponent.
Field Summary
Field Attributes Field Name and Description
<private>  
The suggestions.
Fields borrowed from class AjaxSolr.AbstractWidget:
id, manager, target
Method Summary
Method Attributes Method Name and Description
 
 
 
An abstract hook for child implementations.
 
Uses the top suggestion for each word to return a suggested query.
Methods borrowed from class AjaxSolr.AbstractWidget:
init
Class Detail
AjaxSolr.AbstractSpellcheckWidget()
Interacts with Solr's SpellCheckComponent.

Requires String#strtr defined in ajaxsolr.support.js.

See:
http://wiki.apache.org/solr/SpellCheckComponent
Field Detail
<private> {Object} suggestions
The suggestions.
Method Detail
afterRequest()

beforeRequest()

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.

Documentation generated by JsDoc Toolkit 2.3.0 on Wed Sep 07 2011 22:31:36 GMT-0400 (EDT)