[SERVER-585] min max not working as expected error: { "$err" : "no index found for specified keyPattern: {}" } Created: 29/Jan/10 Updated: 12/Jul/16 Resolved: 26/Feb/10 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Querying |
| Affects Version/s: | 1.2.1 |
| Fix Version/s: | None |
| Type: | Question | Priority: | Major - P3 |
| Reporter: | Garry Wright | Assignee: | Eliot Horowitz (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Mac OS X, mongo command line |
||
| Participants: |
| Description |
|
I may be missing something but am thinking that the test below points out a bug, but I maybe be missing something set up collection:- } }) }) }) I am expecting that db.test.find().min( {"_id":"IBM.N|00000000000000000000"}).max( {"_id":"IBM.N|99999999999999999999"}); should return } } and not error: { "$err" : "no index found for specified keyPattern: {}" } |
| Comments |
| Comment by Garry Wright [ 26/Feb/10 ] |
|
Its not resolved yet but you can close it. I can re-poen as a bug if it is in fact one |
| Comment by Eliot Horowitz (Inactive) [ 26/Feb/10 ] |
|
was this resolved on the mailing list? |