- 
    Type:Bug 
- 
    Resolution: Fixed
- 
    Priority:Major - P3 
- 
    Affects Version/s: None
- 
    Component/s: Shell API
- 
    None
- 
    Environment:OS: Mac OSX
 
 node.js / npm versions:
 Using MongoDB: 7.0.12
 Using Mongosh: 2.2.12
 
 Additional info:
 Using AtlasCLI to test Local Dev experience for Atlas Vector Search
 
- 
        3
- 
        Iteration Neptune, Iteration Ozone, Iteration Planetarium, Iteration Venus, Iteration Wormhole
- 
        Not Needed
- 
        Developer Tools
Problem Statement/Rationale
What is going wrong?  What action would you like the Engineering team to take?
I am trying to use Atlas Vector Search with the Atlas CLI Local Dev Experience and I am not able to use the createSearchIndex() command.
Steps to Reproduce
How could an engineer replicate the issue you’re reporting?
AtlasLocalDev rs-localdev [direct: primary] foo> db.bar.createSearchIndex({
...             "name": "vectorSearchIndexName",
...             "type": "vectorSearch",
...             "definition": {
...                 "fields": [
...                     
]
...             }
...         })
Expected Results
What do you expect to happen?
{
  indexesCreated: [ 
 ],
  ok: 1,
  '$clusterTime': {
    clusterTime: Timestamp(
),
    signature: 
  },
  operationTime: Timestamp(
)
}
Actual Results
What do you observe is happening?
MongoServerError[UnknownError]: "userCommand.indexes[0].mappings" is required