Releases: L-Weisz/strapi-plugin-meilisearch
removes breaking change from previous release
Handle multiple index names in strapi config
This Fork introduces the capability to associate a single collection with multiple index names within Strapi's configuration. Previously, the indexName parameter was limited to a single string value, specifying one index per collection. Now, indexName can be defined as an array, enabling a collection to be indexed under multiple names simultaneously.
For example, the configuration can now be specified as:
Before: indexName: "my_restaurant"
After: indexName: ["my_restaurant", "all_restaurants"]
Additionally, this update includes the introduction of new tests to ensure that the expanded functionality does not disrupt existing features. An existing test was also corrected.
Important Changes:
Breaking Change: The configuration for indexName must now be set as an array in Strapi's configuration to accommodate multiple index names.
Limitation: While indexName can now accept multiple values, all other configuration attributes remain uniform across the specified indexes. This means that any update to one index will apply identically to all indexes associated with a given collection, reflecting the same settings and data.
This enhancement provides greater flexibility in managing index names for collections within Strapi, streamlining the process of data organization and retrieval across multiple indexes.