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

Allow hashed indexes to be unique

    XMLWordPrintable

Details

    • Improvement
    • Status: Backlog
    • Major - P3
    • Resolution: Unresolved
    • 2.1.2
    • None
    • Index Maintenance
    • None

    Description

      Currently hashed indexes are not allowed to be unique (due to potential hash collisions on the keys). Uniqueness can be enforced on a field if a non-hashed index is created on the same field, but this is inefficient.

      It should be possible to create a unique hashed index by checking for a match on the actual document (not just on the key in the index) before insertion.

      Attachments

        Issue Links

          Activity

            People

              backlog-query-optimization Backlog - Query Optimization
              matulef Kevin Matulef
              Votes:
              14 Vote for this issue
              Watchers:
              18 Start watching this issue

              Dates

                Created:
                Updated: