[DRIVERS-545] Support index all paths Created: 24/Jul/18 Updated: 28/Oct/23 Resolved: 16/Dec/20 |
|
| Status: | Closed |
| Project: | Drivers |
| Component/s: | None |
| Fix Version/s: | None |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Rathi Gnanasekaran | Assignee: | Unassigned |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | newdriver | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
| Server Compat: | 4.1 | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| Start date: | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| Driver Compliance: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
| Description |
|
All drivers must support the new "wildcard" index type which will be added in MongoDB 4.2. Wildcard indexes are defined like this:
A single subtree can be indexed like so:
Projections are also possible using a new wildcardProjection index model option:
See the server syntax document for details. |
| Comments |
| Comment by Bernie Hackett [ 05/Jun/19 ] |
| Comment by Shane Harvey [ 27/Sep/18 ] |
|
Python does not validate index fields either so we can send "$**" with our helpers just fine. |
| Comment by David Golden [ 27/Sep/18 ] |
|
Perl does not validate index fields. |
| Comment by Jeremy Mikola [ 26/Sep/18 ] |
|
PHPC has no index helpers. PHPLIB does not validate field names in the keys document for its createIndex() and createIndexes() helpers. |