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

Forbid two $text clauses inside query

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: 2.5.4
    • Fix Version/s: 2.5.5
    • Component/s: Querying, Text Search
    • Labels:
    • Operating System:
      ALL

      Description

      db.test.find({
          $and: [
              { $text: { $search: "dog" } },
              { $text: { $search: "dog" } }
          ]
      })

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: