[SERVER-4518] match nested fields of index keys Created: 18/Dec/11 Updated: 06/Dec/22 Resolved: 13/Aug/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Index Maintenance |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Aaron Staple | Assignee: | Backlog - Query Team (Inactive) |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Assigned Teams: |
Query
|
||||||||
| Participants: | |||||||||
| Description |
|
Say I do this:
Right now I can match the following using the index key:
But I can't match the following at the index level; I need to load 'b' from the full document.
Since the 'b' field is inside the index key, we could extract it for matching. Would need to make sure we test handling of multikey cases correctly, so for example:
|