Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-78831

Make $listSearchIndexes throw an Exception when used outside of Atlas

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.1.0-rc0, 7.0.2, 6.0.11
    • Affects Version/s: None
    • Component/s: None
    • Query Integration
    • Fully Compatible
    • v7.0, v6.0

      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.

            Assignee:
            hima.sheth@mongodb.com Hima Sheth (Inactive)
            Reporter:
            evan.plotkin@mongodb.com Evan Plotkin
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: