/**
* @param array{url: string, apiKey: string} $config
* @param array{q: string, limit: ?int, offset: ?int, attributesToRetrieve: ?array<string>, sort: ?array<string>} $params
*/
from_meilisearch(array $config, array $params, string $index) : MeilisearchExtractor
Extracts
Read from various data sources.
Transforms
Shape and optimize for your needs.
Loads
Store and secure in one of many available data sinks.
Modules
DSL Functions
DSL stands for Domain Specific Language. In the case of Flow, the DSL is used to define simple functions that can be used to transform data. Most of those functions are initializing a new instance of a class under the hood since Flow is fully object-oriented. Please look at the examples below to get a better understanding of how to use the DSL functions.
EXTRACTOR
HELPER
/**
* Transforms Meilisearch results into clear Flow Rows.
*/
meilisearch_hits_to_rows() : HitsIntoRowsTransformer
LOADER
/**
* @param array{url: string, apiKey: string, httpClient: ?ClientInterface} $config
*/
to_meilisearch_bulk_index(array $config, string $index) : Loader
/**
* @param array{url: string, apiKey: string, httpClient: ?ClientInterface} $config
*/
to_meilisearch_bulk_update(array $config, string $index) : Loader