public function removeFromIndexByTypeAndId($type, $id, $indexName = null)
    {
        $indexName = $this->resolveIndexName($indexName);

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