Does this work with Compass Aggregation Pipeline { allowDiskUse: true // Enable external spilling to disk })

Does this work with Compass Aggregation Pipeline { allowDiskUse: true // Enable external spilling to disk })

I also need to know this. Group stage in my aggregation pipeline is failing because of exceeded memory limit. Everywhere says to set allowDiskUse to true but I can’t find how to do that in a Compass Aggregation Pipeline