Method CreateManyAsync
CreateManyAsync(IEnumerable<CreateSearchIndexModel>, CancellationToken)
Creates multiple indexes.
Task<IEnumerable<string>> CreateManyAsync(IEnumerable<CreateSearchIndexModel> models, CancellationToken cancellationToken = default)
Parameters
models
IEnumerable<CreateSearchIndexModel>The models defining each of the indexes.
cancellationToken
CancellationTokenThe cancellation token.
Returns
- Task<IEnumerable<string>>
A Task whose result is an IEnumerable<T> of the names of the indexes that were created.