Details
Description
As mentioned in the 5.1 release documentation:
Starting in MongoDB 5.1, the $lookup and $graphLookup aggregation stages support sharded collections in the from parameter. |
The views documentation for the[ latest version 6.0|https://www.mongodb.com/docs/manual/core/views/#sharded-views] mentions the opposite of the feature release:
Views are considered sharded if their underlying collection is sharded. You cannot specify a sharded view for the from field in $lookup and $graphLookup operations. |
The latest documentation needs to be updated according to the released feature.