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
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:
Gatsby
Strapi
docs-scraper
rails
Symfony
We should update this method with the swapping method.
The common implementation looks like this:
A new index is created with a generated name, for example an uuid4 to ensure the index name is not already used.
As per v0.30.0,
index-swapping
is introduced. This feature gives the possibility to create a newindex
, and then swap it's name with another already existingindex
.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:
Gatsbydocs-scraperindexSwap
feature strapi-plugin-meilisearch#786indexSwap
meilisearch-symfony#277The text was updated successfully, but these errors were encountered: