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