[SERVER-12226] Cannot create compound index with text and descending Created: 31/Dec/13 Updated: 11/Jul/16 Resolved: 10/Feb/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Text Search |
| Affects Version/s: | 2.5.4 |
| Fix Version/s: | 2.6.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Sridhar Nanjundeswaran | Assignee: | J Rassi |
| Resolution: | Done | Votes: | 0 |
| Labels: | 26qa | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
mongodb nightly from 12/30 on Windows 7 x64 |
||
| Issue Links: |
|
||||||||
| Operating System: | ALL | ||||||||
| Participants: | |||||||||
| Description |
|
Compound index with text and ascending succeed whereas descending fails. ) succeeds > db.coll2.ensureIndex( {f1:"text",f2:-1}) |
| Comments |
| Comment by Githook User [ 10/Feb/14 ] |
|
Author: {u'username': u'jrassi', u'name': u'Jason Rassi', u'email': u'rassi@10gen.com'}Message: keys Previously, only ascending keys were allowed in the key pattern |