Docs Menu
Docs Home
/ /
Atlas CLI
/ /

Search Nodes Configuration File

On this page

  • Available Settings
  • Create a Configuration File

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.

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.

Follow these steps to create search nodes with a configuration file:

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

  2. Under Request samples on the right side, click Expand all.

  3. Click Copy to copy the sample request.

2
  1. Paste the sample request into a text editor and change the values to reflect your desired configuration.

  2. Save the file with a .json extension.

3

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

Specify the path to the file you saved with the --file flag.

Follow these steps to update search nodes with a configuration file:

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

  2. Under Request samples on the right side, click Expand all.

  3. Click Copy to copy the sample request.

2
  1. Paste the sample request into a text editor and change the values to reflect your desired configuration.

  2. Save the file with a .json extension.

3

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

Specify the path to the file you saved with the --file flag.

Back

Atlas Search Index