Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-83954

having $text $search in match would cause engine to crash

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Atlas Streams
    • Fully Compatible
    • ALL
    • Sprint 55, Sprint 56

      The stage I have used is

      {$match,  {$text: {$search: "cake cookies"}}}

      This is not expected to work as requires search index. However, we should emit a better error message.

      We should add a jstest and validate a good error message is returned.

            Assignee:
            andrew.chen@mongodb.com Andrew Chen
            Reporter:
            jagadish.nallapaneni@mongodb.com Jagadish Nallapaneni
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: