src/CwpSearchEngine.php
protected function getSearchOptions($spellcheck)
    {
        $options = $this->config()->get('search_options');
        if ($spellcheck) {
            $options = array_merge($options, $this->config()->get('spellcheck_options'));
        }
        return $options;
    }
protected function getSearchOptions($spellcheck)
    {
        $options = $this->config()->get('search_options');
        if ($spellcheck) {
            $options = array_merge($options, $this->config()->get('spellcheck_options'));
        }
        return $options;
    }
protected function getSearchOptions ( $ spellcheck ) { $ options = $ this -> config ( ) -> get ( 'search_options' ) ; if ( $ spellcheck ) { $ options = array_merge ( $ options , $ this -> config ( ) -> get ( 'spellcheck_options' ) ) ; } return $ options ; }
Get solr search options for this query

@param bool $spellcheck True if we should include spellcheck support
@return array
Get solr search options for this query