Make $listSearchIndexes throw an Exception when used outside of Atlas

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: 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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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 (Inactive)
            Reporter:
            Evan Plotkin
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: