meilisearch / integration-guides

Central reference for Meilisearch integrations.
https://meilisearch.com
MIT License
137 stars 15 forks source link

Use index-swapping in relevant plugins instead of deleting index (v0.30.0) #223

Closed bidoubiwa closed 1 year ago

bidoubiwa commented 1 year ago

As per v0.30.0, index-swapping is introduced. This feature gives the possibility to create a new index, and then swap it's name with another already existing index.

Currently, in some libraries, when we have to index content, we start by deleting the index (if it already existed), then recreate it. This results in a downtime for the user as the index is not accessible while the new one is being created.

This deleting/re-create method is used in in the following libraries:

We should update this method with the swapping method.

The common implementation looks like this:

TODO

Issue:

Implement this change in:

bidoubiwa commented 1 year ago

Am I forgetting a repo?

brunoocasali commented 1 year ago

I think Rails can benefit from this feature, and maybe Symfony (but I'm not sure about it).

curquiza commented 1 year ago

Can we create issues in corresponding repo and close this one?

brunoocasali commented 1 year ago

Yep we can!

brunoocasali commented 1 year ago

I'm closing this, since all the issues were created in the repositories!