[SERVER-63123] Add support for creating columnar indexes with a subset of fields via projection Created: 28/Jan/22 Updated: 29/Oct/23 Resolved: 03/Aug/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.1.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Ian Boros | Assignee: | Justin Zhang (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | intern | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 35 | ||||||||
| Description |
|
When creating a columnar index it should be possible to specify a projection over which fields to index, or not index. This task is to add support for this feature on the creation side. This includes adding the field projection argument to the createIndex command, parsing/validating the projection, storing it in the catalog, and re-parsing it at startup. |
| Comments |
| Comment by Justin Zhang (Inactive) [ 03/Aug/22 ] |
|
Commit: https://github.com/10gen/mongo/commit/123eda7b00d3ed74e3b15c351ae029e720a8b80c |