Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-7317

Stages and Text view of pipeline have different messages for the same query

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.44.6
    • Affects Version/s: None
    • Component/s: Atlas
    • None
    • Environment:
      Compass Version 1.40.2 (1.40.2)
    • 3
    • Iteration Minmi, Iteration Nodosaurus, Iteration Pterodactyl, Iteration Big Dipper, Iteration Neptune
    • Not Needed

      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? 

        1. image-2023-10-09-21-52-27-244.png
          215 kB
          Ksenia Samokhvalova
        2. image-2023-10-09-21-52-51-748.png
          199 kB
          Ksenia Samokhvalova

            Assignee:
            leroux.bodenstein@mongodb.com Le Roux Bodenstein
            Reporter:
            ksenia.samokhvalova@mongodb.com Ksenia Samokhvalova
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: