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: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • 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 M (Oct 7 - 21)

      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:
            Unassigned Unassigned
            Reporter:
            ksenia.samokhvalova@mongodb.com Ksenia Samokhvalova
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: