def remove_from_index(self, cls, index, key=None, value=None, entity=None):
        index = self._index(cls, index)
        if key and value and entity:
            uri = self._uri_for(index, key, value, remote(entity)._id)
        elif key and entity:
            uri = self._uri_for(index, key, remote(entity)._id)
        elif entity:
            uri = self._uri_for(index, remote(entity)._id)
        else:
            raise TypeError("Illegal parameter combination for index removal")
        return self.append_delete(uri)
Remove any nodes or relationships from an index that match a
dataset/ETHPy150Open nigelsmall/py2neo/py2neo/ext/batman/batch.py/ManualIndexWriteBatch.remove_from_index