[DOCS-859] limits document incorrect for size of index values Created: 07/Dec/12  Updated: 07/Feb/13  Resolved: 07/Feb/13

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: J Rassi Assignee: J Rassi
Resolution: Done Votes: 0
Labels: indexes
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates DOCS-224 State explicit formulas for index rel... Closed
Participants:
Days since reply: 11 years, 1 week, 6 days ago

 Description   

From http://docs.mongodb.org/manual/reference/limits/#limit-index-size

"Indexed items can be no larger than 1024 bytes. This value is the indexed content (i.e. the field value, or compound field value.)"

The above is not true. The below is closer to true, from http://docs.mongodb.org/manual/core/indexes/#index-behaviors-and-limitations

"Index keys can be no larger than 1024 bytes. This includes the field value or values, the field name or names, and the namespace."

Last time I tried, there was an off-by-some error in the docs for the hard cutoff of this limit, so I'm still not quite trusting the above. I suggest we provide a formula from which users can calculate the maximum size field value for a given index, so they can ensure that they never insert values greater than this limit.



 Comments   
Comment by auto [ 07/Feb/13 ]

Author:

{u'date': u'2013-02-07T17:53:11Z', u'email': u'samk@10gen.com', u'name': u'Sam Kleinman'}

Message: DOCS-859: correction
Branch: master
https://github.com/mongodb/docs/commit/3bf8baf64cc6f8d11b9d35a111bd228b3f5ec670

Comment by Sam Kleinman (Inactive) [ 07/Dec/12 ]

I'll assign this ticket to you for now, if you can get me the formula, I'll get it included in the docs?

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