-
Type: Task
-
Resolution: Fixed
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: FTS
-
Labels:None
-
2
If you try to create an Atlas Search index using the API, it will fail if the collection doesn't exist.
However, this isn't clear from our Documentation.
On the main "Create an Atlas Search Index" page, the prerequisites are listed as:
To create an Atlas Search index, you must have an Atlas cluster with: MongoDB version 4.2 or higher At least one collection
This says at least one collection, but doesn't mention the specific collection.
If you're creating an Atlas Search index through the UI, you can only select an existing collection.
However on the relevant API page, it doesn't mention that the collection must exist.
I'm suggesting:
1. On the main "Create an Atlas Search Index" page, state that the collection must exist
2. On the API page state that although the request may return a status of 200, the index creation will fail if the collection does not exist