From 942caf5598e22345bf0a2bce3882bc853463b70c Mon Sep 17 00:00:00 2001 From: Demian Katz <demian.katz@villanova.edu> Date: Wed, 12 Sep 2012 09:08:51 -0400 Subject: [PATCH] Removed unused checkSpelling method (VUFIND-649). --- module/VuFind/src/VuFind/Connection/Solr.php | 26 -------------------- 1 file changed, 26 deletions(-) diff --git a/module/VuFind/src/VuFind/Connection/Solr.php b/module/VuFind/src/VuFind/Connection/Solr.php index ee6c424465c..6f81c0c0385 100644 --- a/module/VuFind/src/VuFind/Connection/Solr.php +++ b/module/VuFind/src/VuFind/Connection/Solr.php @@ -261,32 +261,6 @@ class Solr implements ServiceLocatorAwareInterface return $result; } - /** - * Get spelling suggestions based on input phrase. - * - * @param string $phrase The input phrase - * - * @return array An array of spelling suggestions - */ - public function checkSpelling($phrase) - { - if ($this->logger) { - $this->logger->debug('Spell Check: '.$phrase); - } - - // Query String Parameters - $options = array( - 'q' => $phrase, - 'rows' => 0, - 'start' => 1, - 'indent' => 'yes', - 'spellcheck' => 'true' - ); - - $result = $this->select('GET', $options); - return $result; - } - /** * Internal method to build query string from search parameters * -- GitLab