/** * Constructor. * * @param Twm_Service_Solr_Search_Result $result of the solr query */ public function __construct(Twm_Service_Solr_Search_Result $result) { $this->_iterator = $result; $this->_count = $result->getNumFound(); }
protected function _parse() { $facetCounts = self::$result->getResult('facet_counts'); $this->_parseFacetCounts($facetCounts); }