[DOCS-11290] The example for positional-all does NOT work Created: 06/Feb/18 Updated: 27/Oct/23 Resolved: 07/Feb/18 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Docs Collector User (Inactive) | Assignee: | Unassigned |
| Resolution: | Works as Designed | Votes: | 0 |
| Labels: | collector-298ba4e7 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Ubuntu xenial (16.04.3 LTS) |
||
| Participants: | |
| Days since reply: | 6 years, 1 week ago |
| Description |
|
The example with 'students' collection results in the following error: "cannot use the part (grades of grades.$[]) to traverse the element ( {grades: [ 85.0, 82.0, 80.0 ]})" I am using MongoDB v. 3.6.2, so it should work (it works for 3.6). Please help. |
| Comments |
| Comment by Jonathan DeStefano [ 07/Feb/18 ] | ||||
|
Hi Lukasz, Thank you for filing a DOCS ticket. The following documentation for the 3.6 upgrade procedures cover setting the featureCompatibilityVersion to 3.6: Regards, | ||||
| Comment by Lukasz Czerwinski [X] [ 06/Feb/18 ] | ||||
|
Hah, it seems I discovered the fix.
I think it should be clearly stated either in documentation or in error message in MongoDB that this featureCompatibilityVersion flag needs to be set to 3.6. |