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

Make error message about $search needing to be the 1st stage more user friendly

    • Type: Icon: Story Story
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Developer Tools

      When I insert a stage before $search the error message is talking about MongoDB's internals. We can have more user friendly message instead

      Current message: $_internalSearchMongotRemote is only valid as the first stage in a pipeline

      Compare with the error message when $vectorSearch is not the 1st stage : $vectorSearch is only valid as the first stage in a pipeline

       

            Assignee:
            Unassigned Unassigned
            Reporter:
            ksenia.samokhvalova@mongodb.com Ksenia Samokhvalova
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: