Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-11556

Mongoid Docs: DropDups option for indexes was removed in MongoDB 3.0

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: drivers
    • Labels:
      None

      The documentation page:
      https://docs.mongodb.com/mongoid/5.2/tutorials/mongoid-indexes/

      References the "drop-dups" option for creating an index, this option was removed in MongoDB 3.0, as seen in the release notes:

      https://docs.mongodb.com/manual/release-notes/3.0-compatibility/#remove-dropdups-option

      We should remove this example from the documentation since it's confusing.

            Assignee:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Reporter:
            adamr@copiousinc.com Adam Runner
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              5 years, 34 weeks, 6 days ago