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

XMLWordPrintableJSON

    • Type: Story
    • Resolution: Unresolved
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • None
    • 2
    • 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
              Reporter:
              Ksenia Samokhvalova
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: