Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-30188

Index option to skip keys that are too large

    Details

    • Type: Question
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Works as Designed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: