public async Task DeleteDocumentsAsync(string projectId, string branchName)
        {
            var result = await _searchClient.Delete(projectId, branchName);

            if (!result.IsSuccessStatusCode)
            {
                var content = await result.Content.ReadAsStringAsync();

                throw new DeleteSearchIndexException("During deleting search index error occurs: " + content);
            }
        }