Method CreateMany
CreateMany(IEnumerable<CreateSearchIndexModel>, CancellationToken)
Creates multiple indexes.
IEnumerable<string> CreateMany(IEnumerable<CreateSearchIndexModel> models, CancellationToken cancellationToken = default)
Parameters
models
IEnumerable<CreateSearchIndexModel>The models defining each of the indexes.
cancellationToken
CancellationTokenThe cancellation token.
Returns
- IEnumerable<string>
An IEnumerable<T> of the names of the indexes that were created.