@@ -436,22 +436,20 @@ The following sections describe:
436
436
.. include:: /includes/fact-sbe-group-overview.rst
437
437
438
438
When the |sbe| is used for :pipeline:`$group`, the :ref:`explain results
439
- <explain-results>` include:
439
+ <explain-results>` include ``queryPlanner.winningPlan.queryPlan.stage:
440
+ "GROUP"``.
440
441
441
- - ``explain.explainVersion: '2'``
442
- - ``queryPlanner.winningPlan.queryPlan.stage: "GROUP"``
442
+ The location of the ``queryPlanner`` object depends on whether the
443
+ pipeline contains stages after the ``$group`` stage that cannot be
444
+ executed using the |sbe-short|.
443
445
444
- The location of the ``queryPlanner `` object depends on whether the
445
- pipeline contains stages after the ``$group `` stage which cannot be
446
- executed using the |sbe-short| .
446
+ - If ``$group `` is the last stage or all stages after ``$group`` can
447
+ be executed using the |sbe-short|, the ``queryPlanner `` object is in
448
+ the top-level ``explain`` output object (``explain.queryPlanner``) .
447
449
448
- - If ``$group`` is the last stage or all stages after ``$group`` can
449
- be executed using the |sbe-short|, the ``queryPlanner`` object is in
450
- the top-level ``explain`` output object (``explain.queryPlanner``).
451
-
452
- - If the pipeline contains stages after ``$group`` which cannot be
453
- executed using the |sbe-short|, the ``queryPlanner`` object is in
454
- ``explain.stages[0].$cursor.queryPlanner``.
450
+ - If the pipeline contains stages after ``$group`` that cannot be
451
+ executed using the |sbe-short|, the ``queryPlanner`` object is in
452
+ ``explain.stages[0].$cursor.queryPlanner``.
455
453
456
454
.. _agg-lookup-optimization-sbe:
457
455
@@ -463,23 +461,21 @@ When the |sbe| is used for :pipeline:`$group`, the :ref:`explain results
463
461
.. include:: /includes/fact-sbe-lookup-overview.rst
464
462
465
463
When the |sbe| is used for :pipeline:`$lookup`, the :ref:`explain
466
- results <explain-results>` include:
467
-
468
- - ``explain.explainVersion: '2'``
469
- - ``queryPlanner.winningPlan.queryPlan.stage: "EQ_LOOKUP"``.
470
- ``EQ_LOOKUP`` means "equality lookup".
464
+ results <explain-results>` include
465
+ ``queryPlanner.winningPlan.queryPlan.stage: "EQ_LOOKUP"``. ``EQ_LOOKUP``
466
+ means "equality lookup".
471
467
472
- The location of the ``queryPlanner`` object depends on whether the
473
- pipeline contains stages after the ``$lookup`` stage which cannot be
474
- executed using the |sbe-short|.
468
+ The location of the ``queryPlanner`` object depends on whether the
469
+ pipeline contains stages after the ``$lookup`` stage that cannot be
470
+ executed using the |sbe-short|.
475
471
476
- - If ``$lookup`` is the last stage or all stages after ``$lookup`` can
477
- be executed using the |sbe-short|, the ``queryPlanner`` object is in
478
- the top-level ``explain`` output object (``explain.queryPlanner``).
472
+ - If ``$lookup`` is the last stage or all stages after ``$lookup`` can
473
+ be executed using the |sbe-short|, the ``queryPlanner`` object is in
474
+ the top-level ``explain`` output object (``explain.queryPlanner``).
479
475
480
- - If the pipeline contains stages after ``$lookup`` which cannot be
481
- executed using the |sbe-short|, the ``queryPlanner`` object is in
482
- ``explain.stages[0].$cursor.queryPlanner``.
476
+ - If the pipeline contains stages after ``$lookup`` that cannot be
477
+ executed using the |sbe-short|, the ``queryPlanner`` object is in
478
+ ``explain.stages[0].$cursor.queryPlanner``.
483
479
484
480
.. _aggregation-pipeline-optimization-indexes-and-filters:
485
481
0 commit comments