[SERVER-62] index key generation is not completely implemented for embedded objects / arrays Created: 21/May/09 Updated: 12/Jul/16 Resolved: 11/Aug/09 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 0.9.8 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Aaron Staple | Assignee: | Aaron Staple |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: |
| Description |
|
Currently only a single array is expanded when creating keys for an index. So for example the implementation is incomplete when creating an index on { 'a.b': 1 }for object { a: [ { b: [ 2 ] }] }. for an index on { a:1,b:1}and object { a:[ 2 ], b:[ 2] }we decided not to allow indexing at one point because the # of keys would be exponential in the # of fields |
| Comments |
| Comment by Eliot Horowitz (Inactive) [ 15/Aug/09 ] |
|
Released in 0.9.8 |
| Comment by Aaron Staple [ 11/Aug/09 ] |
|
tested in namespacetests.cpp |