private int CreateIndexer(IndexerResource indexerResource)
        {
            var indexer = GetIndexer(indexerResource);

            indexer = _indexerService.Create(indexer);
            return(indexer.Id);
        }