[COMPASS-7317] Stages and Text view of pipeline have different messages for the same query Created: 10/Oct/23  Updated: 07/Feb/24

Status: Ready for Work
Project: Compass
Component/s: Atlas
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor - P4
Reporter: Ksenia Samokhvalova Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Compass Version 1.40.2 (1.40.2)


Attachments: PNG File image-2023-10-09-21-52-27-244.png     PNG File image-2023-10-09-21-52-51-748.png    
Issue Links:
Related
Story Points: 3
Sprint: Iteration Minmi, Iteration Nodosaurus, Iteration Pterodactyl, Iteration W

 Description   

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? 


Generated at Wed Feb 07 22:46:09 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.