[SERVER-587] Ability to ask for random samples Created: 30/Jan/10 Updated: 30/Jan/10 Resolved: 30/Jan/10 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Querying |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | New Feature | Priority: | Minor - P4 |
| Reporter: | Fernand Galiana | Assignee: | Eliot Horowitz (Inactive) |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Any |
||
| Participants: |
| Description |
|
It would be very nice to have the ability to ask mongoDB for a random sample for a given collection. I know this can be done via js but Something like blee.find( { $rand:1000 }) => retrieves a random sample of size 1k |
| Comments |
| Comment by Eliot Horowitz (Inactive) [ 30/Jan/10 ] |
|
see |