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

Multiple text indexes per collection should not be allowed

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.6.0-rc0
    • None
    • Text Search
    • None
    • 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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: