[DOCS-11556] Mongoid Docs: DropDups option for indexes was removed in MongoDB 3.0 Created: 07/Apr/18 Updated: 29/Oct/23 Due: 04/May/18 Resolved: 07/Sep/18 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | drivers |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Adam Runner | Assignee: | Oleg Pudeyev (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Participants: | |||||||||||||||||
| Days since reply: | 5 years, 22 weeks, 5 days ago | ||||||||||||||||
| Description |
|
The documentation page: 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. |
| Comments |
| Comment by Oleg Pudeyev (Inactive) [ 07/Sep/18 ] |
|
Updated docs through 5.2. The option is marked deprecated because current mongoid still supports server 2.6. https://docs.mongodb.com/mongoid/5.2/tutorials/mongoid-indexes/ |
| Comment by Oleg Pudeyev (Inactive) [ 25/Jul/18 ] |
|
https://docs.mongodb.com/mongoid/5.2/tutorials/mongoid-installation/ says mongoid 5.2 supports mongodb 2.4 and 2.6, which I assume have this option, hence it would be appropriate for it to exist in mongoid 5.2 tutorial. I will research which mongodb versions more current mongoids support. |