<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>dullwhale</author_name>
  <author_url>https://blog.hatena.ne.jp/dullwhale/</author_url>
  <blog_title>dullwhaleのメモ帳</blog_title>
  <blog_url>https://dullwhale-public.hateblo.jp/</blog_url>
  <categories>
  </categories>
  <description>小規模なシステムではElasticsearchを1ノードだけで動かすことがある。 その場合に設定しておくべき項目をメモしておく。 設定ファイルは大抵 /etc/elasticsearch/elasticsearch.yml にある。 まず、1ノードでしか動かさないから無駄なディスカバリを無効化する。 discovery.type: single-node 読み取り専用のレプリカシャードは、書き込み可能なプライマリシャードと同じノードに配置できないため、1ノードだけで動かしているのにレプリカシャードが作られるとステータスはYellowになる。 シャードの状況は次のコマンドで確認する。 curl …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdullwhale-public.hateblo.jp%2Fentry%2F2022%2F05%2F10%2F113800&quot; title=&quot;Elasticsearch 7系を1クラスタ1ノードで動かす場合の設定 - dullwhaleのメモ帳&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>2022-05-10 11:38:00</published>
  <title>Elasticsearch 7系を1クラスタ1ノードで動かす場合の設定</title>
  <type>rich</type>
  <url>https://dullwhale-public.hateblo.jp/entry/2022/05/10/113800</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
