Navigation

Resume or Delete an Atlas Search Index Draft

If you saved your Atlas Search index definition as a draft, you can resume editing your index definition.

Important

You can't create a new index when you have a pending index draft.

1
2
3
4
5
  1. Click Cancel.
  2. Click Save Draft or Delete Draft.
6

Click Refine Your Index to make changes to any of the following settings and click Save Changes.

Field Name
Description
Necessity
Index Analyzer
Select the analyzer to use for indexing the collection data from the dropdown. By default, Atlas Search uses the standard analyzer.
Optional
Query Analyzer
Select the analyzer to use when parsing data for the Atlas Search queries from the dropdown. By default, Atlas Search uses the standard analyzer.
Optional
Dynamic Mapping
Select dynamic or static mapping of fields. To disable dynamic mapping, set Dynamic Mapping to Off. By default, dynamic mapping is enabled. If you disable dynamic mapping, you must specify the fields to index. To learn more about dynamic and static mappings, see Index Definitions.
Required
Field Mappings

Required if dynamic mapping is disabled.

To add the fields to index, click Add Field. You must specify the following settings for each field:

  • Field name.
  • Static or dynamic mapping. If you disable dynamic mapping, all BSON data in the field will not be automatically indexed.
  • Field data type. Click Add Data Type and select the data type from the dropdown. To learn more about the available data types and their options, see BSON Data Types and Atlas Search Data Types.

    Note

    Unlike compound indexes, the order of fields in the Atlas Search index definition is not important. Fields can be defined in any order.

Conditional
7
8

A modal window appears to let you know your index is building. Click the Close button.

9

The newly created index appears on the Search tab. While the index is building, the Status field reads Build in Progress. When the index is finished building, the Status field reads Active.

Note

Larger collections take longer to index. You will receive an email notification when your index is finished building.

Give Feedback