/**
  * Initializes the search component.
  *
  *
  */
 public function initializeSearchComponent()
 {
     if ($this->searchConfiguration['results.']['siteHighlighting']) {
         $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['solr']['modifyResultDocument']['siteHighlighter'] = 'ApacheSolrForTypo3\\Solr\\ResultDocumentModifier\\SiteHighlighter';
     }
     if ($this->searchConfiguration['results.']['resultsHighlighting']) {
         $this->query->setHighlighting(true, $this->searchConfiguration['results.']['resultsHighlighting.']['fragmentSize']);
         $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['solr']['modifyResultDocument']['highlighting'] = 'ApacheSolrForTypo3\\Solr\\ResultDocumentModifier\\DocumentHighlighter';
     }
 }