Interface IIndexInitializer
- Namespace
- Excalibur.Data.ElasticSearch
- Assembly
- Excalibur.Data.ElasticSearch.dll
Provides functionality to initialize Elasticsearch indexes.
public interface IIndexInitializer
Methods
InitializeIndexesAsync()
Initializes all Elasticsearch indexes by invoking the InitializeAsync(CancellationToken) method on each registered initializer.
Task InitializeIndexesAsync()
Returns
Remarks
This method iterates through all registered IInitializeElasticIndex instances and ensures that each one is executed sequentially.