[SERVER-6730] distinct needs to return a cursor Created: 07/Aug/12 Updated: 15/Aug/12 Resolved: 08/Aug/12 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Aggregation Framework |
| Affects Version/s: | 2.2.0-rc0 |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Robert La Ferla | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
all |
||
| Participants: |
| Description |
|
The current distinct implementation is not suitable for large databases because it doesn't return a cursor. Therefore you can't work in batches, etc... TypeError: cursor.batchSize is not a function |
| Comments |
| Comment by Eliot Horowitz (Inactive) [ 08/Aug/12 ] |
|
This is a dup of |