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
    • Not Needed
    • Iteration Minmi, Iteration Nodosaurus, Iteration Pterodactyl, Iteration Big Dipper, Iteration Neptune

      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? 

            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: