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

Multiple text indexes per collection should not be allowed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.6.0-rc0
    • Component/s: Text Search
    • Labels:
      None
    • Operating System:
      ALL

      Description

      Works as designed?

      > db.foo.ensureIndex({a:"text"})
      > db.foo.ensureIndex({b:"text"})
      > db.foo.runCommand("text",{search:"word"})
      { "ok" : 0, "errmsg" : "too many text index for: test.foo" }
      > 

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rassi J Rassi
              Reporter:
              rassi J Rassi
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: