/**
  * @see \CultuurNet\Search\Service::search().
  */
 public function searchPages($parameters = array())
 {
     $result = $this->service->searchPages($parameters);
     DrupalCultureFeedSearchService::setDetailCache($result);
     return $result;
 }
 /**
  * @see \CultuurNet\Search\ServiceInterface::search().
  */
 public function searchPages($parameters = array())
 {
     $cid = 'search/page:' . md5(serialize($parameters));
     if ($cache = $this->cacheGet($cid)) {
         $result = $cache->data;
         DrupalCultureFeedSearchService::setDetailCache($result);
         return $result;
     }
     $result = $this->realSearchService->searchPages($parameters);
     $this->cacheSet($cid, $result, REQUEST_TIME + CULTUREFEED_SEARCH_CACHE_EXPIRES);
     return $result;
 }