When deciding whether or not to generate a metadata pipeline for search queries, we do not consider whether or not the metadata pipeline is necessary and will actually be used. We should do that so we're not running unnecessary queries.
- is depended on by
-
SERVER-88165 Only generate search meta pipeline when it will be used (followup)
- Closed
- related to
-
SERVER-86611 Cursors not being closed correctly after recieving killCursor
- Closed
-
SERVER-87072 Add explicit option to mongot cursorOptions that flags if it should return metadata or not
- Backlog
-
SERVER-87079 Properly configure _pipelineNeedsSearchMeta when $search is in a subpipeline
- Backlog
-
SERVER-87419 Upgrade/Downgrade flags should be accessible on mongos outside mongo/s directory
- Closed
-
SERVER-87537 Make InternalSearchMongotRemoteSpec not strict
- Closed
-
SERVER-87335 Only generate search meta pipeline in SBE when it will be used
- Backlog