diff --git a/app/models/concerns/indexable.rb b/app/models/concerns/indexable.rb index 6c73a4297..27a66da69 100644 --- a/app/models/concerns/indexable.rb +++ b/app/models/concerns/indexable.rb @@ -1099,6 +1099,7 @@ def switch_index(options = {}) add: { index: index_name, alias: alias_name, + is_write_index: is_write_index, }, }, ],