-
Type: Question
-
Resolution: Works as Designed
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Storage Execution
Currently if there is any document with a key too large to be indexed (>1024), an error will be thrown and the index will not be created.
I would like to have an option to skip those values and index all the other keys.
As far as I can see, this can not be achieved with partial indices for multikey indices, since partial indices can only exclude the entire document from being indexed, not a single element from the array being indexed.
- duplicates
-
SERVER-12834 Create flag to allow mongod to ignore "index too long" errors
- Closed
- related to
-
SERVER-3372 Allow indexing fields of arbitrary length
- Closed