Problem Statement/Rationale
When I use Compass in stages view with $search command with a search index name that doesn't exist, I get a message "
No results found
This may be because your search has no results or your search index does not exist."
When I switch to Text view, I get "No preview documents"
Steps to Reproduce
Run the command in Compass for $search on an index that doesn't exist, switch between Text and Stages view
Expected Results
I expect the messages to be the same in both views.
Additional Notes
Perhaps part of https://jira.mongodb.org/browse/COMPASS-6599?