The approach in SERVER-64480 ended up working around SERVER-65534 by opening unnecessary cursors. This works for correctness, but is inefficient. We should be able to execute without them.
- is caused by
-
SERVER-64480 Make $$SEARCH_META scope local to pipeline
- Closed
- is related to
-
SERVER-66331 Additional $searchMeta test coverage
- Closed
- related to
-
SERVER-65534 $documents doesn't work if a later stage needs to run on a shard (not mongos)
- Closed