diff --git a/module/VuFind/src/VuFind/Connection/Solr.php b/module/VuFind/src/VuFind/Connection/Solr.php index ee6c424465ce74e72bda6179423f250a642e829d..6f81c0c0385cdf82135e0e5aa76a3d2a194a578e 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 *