Beispiel #1
0
 /**
  * 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();
 }
Beispiel #2
0
 protected function _parse()
 {
     $facetCounts = self::$result->getResult('facet_counts');
     $this->_parseFacetCounts($facetCounts);
 }