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

XMLWordPrintableJSON

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

      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
            Reporter:
            Jagadish Nallapaneni
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: