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

unique indexes not enforced within array of single document

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 1.4.0
    • Component/s: Index Maintenance
    • Labels:
    • Environment:
      linux
    • Query Optimization

      I am finding that a unique index is not applied to multiple elements of an array in the same document of a collection. They are only applied between documents in a collection.

      More details available at: http://groups.google.com/group/mongodb-user/browse_thread/thread/56bf4f84f7cad835

      Is this intended behavior? Is there a way around it?

            Votes:
            91 Vote for this issue
            Watchers:
            82 Start watching this issue

              Created:
              Updated: