in ees_microsoft_outlook/sync_enterprise_search.py [0:0]
def delete_documents(self, final_deleted_list):
"""Deletes the documents of specified ids from Workplace Search
:param final_deleted_list: List of ids to delete the documents from Workplace Search
"""
for index in range(0, len(final_deleted_list), constant.BATCH_SIZE):
final_list = final_deleted_list[index: index + constant.BATCH_SIZE]
# Logic to delete documents from the Workplace Search
self.workplace_search_custom_client.delete_documents(final_list)