def delete_index(self, content_type, index_name):
        """ Delete the entire index identified by the type and name supplied.

        :param content_type: either :class:`.Node` or
            :class:`.Relationship`
        :param index_name: the name of the index to delete
        :raise LookupError: if the specified index does not exist
        """
        if index_name not in self._indexes[content_type]:
            self.get_indexes(content_type)
        if index_name in self._indexes[content_type]:
            index = self._indexes[content_type][index_name]
            remote(index).delete()
            del self._indexes[content_type][index_name]
        else:
            raise LookupError("Index not found")
dataset/ETHPy150Open nigelsmall/py2neo/py2neo/ext/batman/index.py/ManualIndexManager.delete_index/original