You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/maestro-provider/README.md
+9-9
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@
5
5
6
6
This package provides indexing functionality for keeping data synchronized from data source repositories like Song and Lyric with search engines like ElasticSearch.
7
7
8
-
The entry point to this functionality is through the `MaestroProvider`. The MaestroProvider acts as the main interface for configuring, managing, and executing tasks related to indexing data from repositories and payloads into a search engine like Elasticsearch. It simplifies the interaction with complex indexing workflows by providing a unified entry point to both automatic data synchronization and manual document indexing.
8
+
The entry point to this functionality is through the `initializeMaestroProvider`. This function creates a provider that offers methods to configure, manage, and execute tasks related to indexing data from repositories and payloads into a search engine like Elasticsearch. It simplifies the interaction with complex indexing workflows by providing a unified entry point to both automatic data synchronization and manual document indexing.
9
9
10
10
This package is designed to be imported as an npm dependency.
The **MaestroProvider** requires some initial configuration to work correctly. You can configure it by providing an object of type **MaestroProviderConfig**.
22
+
To create a Maestro provider use the **initializeMaestroProvider** function. This can be done by providing an object of type **MaestroProviderConfig**.
23
23
24
24
Here is an example of the configuration:
25
25
26
26
```bash
27
-
import { MaestroProvider, MaestroProviderConfig } from '@overture-stack/maestro-provider';
27
+
import { initializeMaestroProvider, MaestroProviderConfig } from '@overture-stack/maestro-provider';
The `MaestroProvider`provides a set of API functions designed to manage indexing operations for systems that work as data source repositories, such as _Song_ or _Lyric_. These repositories serve as data sources from which _Maestro_ fetches data when the operations are invoked. The `MaestroProvider` acts as the bridge to ensure that this data is correctly indexed into a search engine like Elasticsearch.
40
+
The `initializeMaestroProvider`functionprovides a set of API functions designed to manage indexing operations for systems that work as data source repositories, such as _Song_ or _Lyric_. These repositories serve as data sources from which _Maestro_ fetches data when the operations are invoked. The resulting provider acts as the bridge to ensure that this data is correctly indexed into a search engine like Elasticsearch.
2. **Indexing Service Implementation for Payloads**
63
63
64
-
The `MaestroProvider` also offers a set of indexing operations that do not require fetching data from repositories. Instead, the data is provided directly in the payloads.
64
+
Maestro provider also offers a set of indexing operations that do not require fetching data from repositories. Instead, the data is provided directly in the payloads.
0 commit comments