[JAVA-1163] No createIndex signature exists to match keyspec, name, unique Created: 08/Apr/14 Updated: 30/Jan/15 Resolved: 19/Aug/14 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | API, Command Operations |
| Affects Version/s: | 2.12.0, 3.0.0 |
| Fix Version/s: | 2.13.0, 3.0.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | John Morales | Assignee: | Ross Lawley |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Description |
|
In migrating from 2.11.2 to 2.12.0, we've encountered a multitude of cases where we were using:
Doing the find/replace 's/ensureIndex/createIndex/g' wouldn't be bad, but not having a matching 3-arg createIndex(spec, name, unique) makes migrating more manual and error prone. |
| Comments |
| Comment by Githook User [ 30/Jan/15 ] |
|
Author: {u'username': u'rozza', u'name': u'Ross Lawley', u'email': u'ross.lawley@gmail.com'}Message: Added createIndex signatures to match the ensureIndex To aid migration from the deprecated ensureIndex methods |
| Comment by Jeffrey Yemin [ 29/Jan/15 ] |
|
2.13.0 has been released. Closing issue. |
| Comment by Githook User [ 19/Aug/14 ] |
|
Author: {u'username': u'rozza', u'name': u'Ross Lawley', u'email': u'ross.lawley@gmail.com'}Message: Added createIndex signatures to match the ensureIndex To aid migration from the deprecated ensureIndex methods |
| Comment by Githook User [ 19/Aug/14 ] |
|
Author: {u'username': u'rozza', u'name': u'Ross Lawley', u'email': u'ross.lawley@gmail.com'}Message: Added createIndex signatures to match the ensureIndex To aid migration from the deprecated ensureIndex methods |