Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-8400

Investigate changes in SPM-3296: Query work for explain executionStats with $search

    • Type: Icon: Investigation Investigation
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Developer Tools

      Original Downstream Change Summary

      Once CLOUD-140680 is also completed, $search, $vectorSearch, and $searchMeta explain queries with verbosity “executionStats” and “allPlansExecution” will now act like other stages and return documents instead of always returning EOF. “nReturned” and “executionTimeMillisEstimate” will now be populated for these stages.

      Description of Linked Ticket

      Epic Summary

      Summary

      When users call explain("executionStats") on a pipeline with $search, they are not getting metrics and timings on how long subsequent aggregations stages took. Search does not return any documents during explain no matter what the mode is, this project should change that to bring it in line with other stages.

      Motivation

      $search not implementing explain harms diagnosis of failing and slow running queries. As search adoption increases we need to provide more tools to allow users to debug their own pipelines.

      Documentation

      Product Description
      Scope
      Technical Design
      Docs Update

            Assignee:
            Unassigned Unassigned
            Reporter:
            backlog-server-pm Backlog - Core Eng Program Management Team
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: