/**
  * constructor for class tx_solr_SuggestQuery
  */
 public function __construct($keywords)
 {
     parent::__construct('');
     $this->configuration = $GLOBALS['TSFE']->tmpl->setup['plugin.']['tx_solr.']['suggest.'];
     $matches = array();
     preg_match('/^(:?(.* |))([^ ]+)$/', $keywords, $matches);
     $fullKeywords = trim($matches[2]);
     $partialKeyword = trim($matches[3]);
     $this->setKeywords($fullKeywords);
     $this->prefix = $partialKeyword;
 }