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

Multiple text indexes per collection should not be allowed

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.6.0-rc0
    • Affects Version/s: None
    • Component/s: Text Search
    • Labels:
      None
    • ALL

      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" }
      > 
      

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

              Created:
              Updated:
              Resolved: