updated to 1.2

This commit is contained in:
Bachir Soussi Chiadmi
2013-09-26 16:23:17 +02:00
parent c9912105d5
commit d8237ffb99
135 changed files with 5808 additions and 26071 deletions

View File

@@ -11,15 +11,15 @@
class SearchApiSpellcheckSolr extends SearchApiSpellcheck {
/**
* Constructor.
* Constructs a SearchApiSpellcheckSolr object.
*
* If solr has returned spelling suggestion then loop through them and add
* If Solr has returned spelling suggestion then loop through them and add
* them to this spellcheck service.
*
* @param Apache_Solr_Response $response
* @param object $response
* The Solr response object.
*/
function __construct(Apache_Solr_Response $response) {
function __construct($response) {
if (isset($response->spellcheck->suggestions)) {
$suggestions = $response->spellcheck->suggestions;
foreach ($suggestions as $word => $data) {