Atlas CLI を使用して検索ノードを 作成 するか、検索ノードを更新する際に必要な設定を指定するには、検索ノード構成ファイルを使用します。 Atlas CLI は.json検索ノードの構成ファイルを受け入れます。
利用可能な設定
When you create search nodes using a configuration file, you can specify any settings that are listed in Create Search Nodes under Request Body Schema.
When you update search nodes using a configuration file, you can specify any settings that are listed in Update Search Nodes under Request Body Schema.
構成ファイルを作成
検索ノードを作成
構成ファイルを使用して検索ノードを作成するには、次の手順に従います。
Copy the sample request for Create Search Nodes.
Atlas Admin API 仕様の「検索ノードの作成」セクションに移動します。
右側の [ Request samples ] の下にある [ Expand all ] をクリックします。
サンプル リクエストをコピーするには、 Copyをクリックします。
--fileオプションを指定して、 Atlas クラスター検索ノード作成コマンドを実行します。
--fileフラグを使用して保存したファイルへのパスを指定します。
検索ノードを更新
構成ファイルを使用して検索ノードを更新するには、次の手順に従います。
Copy the sample request for Update Search Nodes.
Navigate to the Update Search Nodes section of the Atlas Admin API specification.
右側の [ Request samples ] の下にある [ Expand all ] をクリックします。
サンプル リクエストをコピーするには、 Copyをクリックします。
--fileオプションを指定して、 Atlas クラスター検索ノードの更新コマンドを実行します。
--fileフラグを使用して保存したファイルへのパスを指定します。