public function removeFromIndexByTypeAndId($type, $id) { $this->elasticsearch->delete(['index' => $this->indexName, 'type' => $type, 'id' => $id]); }