Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-3361

Comment on: "manual/reference/limits.txt"

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • 01112017-cleanup
    • None
    • manual

    Description

      "The names of indexes [...] cannot be longer than 125 characters."
      seems wrong.

      http://docs.mongodb.org/manual/reference/method/db.collection.ensureIndex/#db.collection.ensureIndex Defines the max length as 128 characters.

      This seems to be in line with what mongodb reports when trying to create an index with a too long name:

      { "serverUsed" : "localhost/127.0.0.1:27017" , "err" : "ns name too long, max size is 128" , "code" : 10080 , "n" : 0 , "connectionId" : 93 , "ok" : 1.0}

      Attachments

        Activity

          People

            Unassigned Unassigned
            miki.wiik Miki Wiik
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              9 years, 37 weeks, 4 days ago