public function __construct($type, Horde_ElasticSearch_Index $index) { $this->_type = $type; $this->_index = $index; }