[DOCS-3361] Comment on: "manual/reference/limits.txt" Created: 07/May/14  Updated: 03/Nov/17  Resolved: 31/May/14

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: None
Fix Version/s: 01112017-cleanup

Type: Improvement Priority: Major - P3
Reporter: Miki Wiik Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: collector-298ba4e7
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Location: http://docs.mongodb.org/manual/reference/limits/
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.132 Safari/537.36
Referrer: https://www.google.fi/
Screen Resolution: 1920 x 1200
repo: docs
source: reference/limits


Participants:
Days since reply: 9 years, 37 weeks, 4 days ago

 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}

 Comments   
Comment by Kay Kim (Inactive) [ 31/May/14 ]

Fixed as part of DOCS-3228.

Generated at Thu Feb 08 07:45:33 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.