Esempio n. 1
0
 /**
  * Sets up and parses the search query.
  *
  * @param string $input
  *   The search keywords entered by the user.
  */
 protected function queryParseSearchExpression($input)
 {
     if (!isset($this->searchQuery)) {
         $this->searchQuery = db_select('search_index', 'i', array('target' => 'replica'))->extend('Drupal\\search\\ViewsSearchQuery');
         $this->searchQuery->searchExpression($input, $this->searchType);
         $this->searchQuery->publicParseSearchExpression();
     }
 }