public function actionSearch()
 {
     $hornav = $this->getHornav();
     $hornav->addData("Поиск");
     $this->title = "Поиск: " . $this->request->query;
     $this->meta_desc = "Поиск " . $this->request->query . ".";
     $this->meta_key = "поиск, поиск " . $this->request->query;
     $articles = ArticleDB::search($this->request->query);
     $sr = new SearchResult();
     if (mb_strlen($this->request->query) < Config::MIN_SEARCH_LEN) {
         $sr->error_len = true;
     }
     $sr->hornav = $hornav;
     $sr->field = "full";
     $sr->query = $this->request->query;
     $sr->data = $articles;
     $this->render($sr);
 }