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": [
      "_id",
      "type",
      "i18n.fallback.name",
      "i18n.en.name",
      "i18n.nl.name",
      "i18n.de.name",
      "i18n.fr.name",
      "i18n.es.name",
      "i18n.it.name",
      "geonamesId",
      "accommodationCount"
    ]
  },
  "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