'Delete documents from the index.
\'ids\' should be a list of fullnames'

def delete_ids(self, ids):

    deletes = [etree.fromstring(('<id>%s</id>' % id_)) for id_ in ids]
    batch = etree.Element('delete')
    batch.extend(deletes)
    return self.send_documents(batch)
