laravel-scout-elasticsearch
laravel-scout-elasticsearch copied to clipboard
is there any way to revert to the previous index state before reindexing ?
As I know we are not keeping any state for previous index but we may check with together what we can do if you can write the logic you think.
thanks for your reply, I am thinking a mechanism to failover if the new index is corrupted and we want to revert back quickly, I suggest keeping the last previous index so we can make the alias point to it in case of failure or corrupted data it will be better waiting to reindex again the previous state. what do you think?
we switch to new index only when new index finished without errors