<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>aquarla</author_name>
  <author_url>https://blog.hatena.ne.jp/aquarla/</author_url>
  <blog_title>aquarlaのブログ</blog_title>
  <blog_url>https://aquarla.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>Mastodon の全文検索 (Elasticsearch) のインデックス再生成を行う場合、tootctl search deploy コマンドを実行するわけだが、 $ RAILS_ENV=production bundle exec bin/tootctl search deploy （列の追加、analyzerの変更等で）インデックスの定義に変更があった場合、もともとあったインデックスを全削除する挙動になっており、一時的にインデックスにアクセスできない時間が発生してしまう。 一方、Mastodon で使用している Chewy ライブラリに添付されている chewy:reset rakeタ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Faquarla.hatenablog.com%2Fentry%2F2021%2F11%2F18%2F161455&quot; title=&quot;Mastodon における Elasticsearch インデックス定義変更時の zero-dowontime 対応をしてみた - aquarlaのブログ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-11-18 16:14:55</published>
  <title>Mastodon における Elasticsearch インデックス定義変更時の zero-dowontime 対応をしてみた</title>
  <type>rich</type>
  <url>https://aquarla.hatenablog.com/entry/2021/11/18/161455</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
