Docs 菜单
Docs 主页
/ /
Atlas CLI
/ /

搜索节点配置文件

在此页面上

  • 可用设置
  • 创建配置文件

You can use a search nodes configuration file to specify the settings required when you create search nodes or update search nodes using the Atlas CLI. The Atlas CLI accepts .json search nodes configuration files.

使用配置文件创建Atlas Search节点时,您可以指定创建Atlas Search节点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.

请按照以下步骤使用配置文件创建Atlas Search节点:

1
  1. Atlas Search导航到Atlas AdminAPI 规范的 创建 节点 部分。

  2. 在右侧的Request samples下,单击Expand all

  3. 单击Copy ,复制样本请求。

2
  1. 将示例请求粘贴到文本编辑器中,并更改值以反映所需的配置。

  2. 使用.json扩展名保存文件。

3

Run the atlas clusters search nodes create command with the --file option.

使用--file标志指定保存的文件的路径。

请按照以下步骤使用配置文件更新Atlas Search节点:

1
  1. Navigate to the Update Search Nodes section of the Atlas Admin API specification.

  2. 在右侧的Request samples下,单击Expand all

  3. 单击Copy ,复制样本请求。

2
  1. 将示例请求粘贴到文本编辑器中,并更改值以反映所需的配置。

  2. 使用.json扩展名保存文件。

3

Run the atlas clusters search nodes update command with the --file option.

使用--file标志指定保存的文件的路径。

后退

Atlas Search 索引

来年

Online Archive