Atlas clusters search indexes create omits storedSource form definition

I apply an atlas search index with the following command:

atlas clusters search indexes create --clusterName ${MONGO_CLUSTER_NAME} --file ${FILE}

my index file contains the following section for storedSource definition:

  "name": "default",
  "collectionName": "locations",
  "database": "core",
  "storedSource": {
    "include": [
  "analyzers": [

The storedSource definition is completely omitted when the index is created. If I use the exact same code to create an index in the UI it does work…

Is this a bug or do I need to defnie it a separate way?

Hi @Ruud_van_Buul , storedSource is not currently supported by the Atlas CLI. This is a known gap that we are looking into prioritizing, you can vote for the feature here and stay up to date on its progress.

In the meantime, would creating search indexes programatically through mongosh or drivers (use the dropdown in the top right to change languages) work for you?

Thanks Amy. I’ll have to look into that then