The search index management commands throw the following exception when used outside of atlas:
Command failed with error 115 (CommandNotSupported): 'Search index commands are only supported with Atlas.' on server localhost:27017. The full response is {"ok": 0.0, "errmsg": "Search index commands are only supported with Atlas."
The $listSearchIndexes aggregation stage should also throw a similar exception, noting that $listSearchIndexes is only supported with Atlas.
- related to
-
SERVER-81055 $listSearchIndexes does not throw when used outside of atlas in 7.2 alpha releases
- Closed
-
SERVER-78331 Ensure $vectorSearch is disabled when enterprise is not enabled
- Closed