-
Type: Question
-
Resolution: Duplicate
-
Priority: Minor - P4
-
None
-
Affects Version/s: 2.2.2
-
Component/s: Index Maintenance
-
None
-
Environment:CentOS 5.9
A few questions regarding key values too large to index. What happens to a key value is too large to index? In particular, what happens to that entry? Is it indexed up to the full 1024 byte limit? Is it skipped?
Also what happens during querying? If an value is not in the index because it is too large, will MongoDB do a full table scan for that value? Or will MongoDB only return values that are indexed?
Thanks for answer my many questions.
- duplicates
-
SERVER-5290 fail to insert docs with fields too long to index, and fail to create indexes where doc keys are too big
- Closed