/**
  * Lazy-loads Wikia\Search\Config
  * @return Wikia\Search\Config
  */
 protected function getConfig()
 {
     if ($this->config === null) {
         $config = new Wikia\Search\Config();
         $config->setLimit(1);
         if ($this->getCrossWiki()) {
             $config->setCrossWikiLuceneQuery(true);
         } else {
             $config->setDirectLuceneQuery(true);
         }
         $this->config = $config;
     }
     return $this->config;
 }