Skip to content

Commit

Permalink
Merge pull request #914 from datacite/alias_fix
Browse files Browse the repository at this point in the history
Explicitly set the is_write_index key on every switch_index option
  • Loading branch information
digitaldogsbody authored Jan 25, 2023
2 parents 7d1f547 + d7d9a43 commit c4ce69e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/models/concerns/indexable.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1099,6 +1099,7 @@ def switch_index(options = {})
add: {
index: index_name,
alias: alias_name,
is_write_index: is_write_index,
},
},
],
Expand Down

0 comments on commit c4ce69e

Please sign in to comment.