private BulkBatchResult IndexContents(IEnumerable <IContent> contentItems)
        {
            List <IContent> contentToIndex = GetContentToIndex(contentItems);

            // Perform bulk update
            return(_indexer.BulkUpdate(contentToIndex, str =>
            {
                OnStatusChanged(str);
                _logger.Debug(str);
            }, CustomIndexName));
        }
        private BulkBatchResult IndexContents(List <IContent> contentItems, int bulkCounter)
        {
            List <IContent> contentToIndex = GetContentToIndex(contentItems, bulkCounter);

            // Perform bulk update
            OnStatusChanged($"Bulk {bulkCounter} - Preparing bulk update of {contentToIndex.Count} items...");
            return(_indexer.BulkUpdate(contentToIndex, str =>
            {
                OnStatusChanged(str);
                _logger.Debug(str);
            }, CustomIndexName));
        }