Beispiel #1
0
        public Task AddIndexAsync(IndexType indexType, params string[] attributes)
        {
            var indexConfig = new IndexOptions {
                Type = indexType
            };

            indexConfig.AddAttributes(attributes);
            return(AddIndexAsync(indexConfig, CancellationToken.None));
        }