@@ -36,25 +36,16 @@ MongoDB uses the classic engine for queries that are ineligible for the
3636Eligible Queries for the {+sbe-short-title+}
3737----------------------------------------------------
3838
39- MongoDB can use the {+sbe-short+} for the following queries:
39+ MongoDB determines eligibility for using the {+sbe-short+} on a per-query basis,
40+ and considers support for each operator and expressions present in the query.
41+ For example, two common pipelines that use {+sbe-short+} are aggregations with
42+ :pipeline:`$group` or :pipeline:`$lookup` stages. However, support for the
43+ {+sbe-short+} is version specific and actively changing.
4044
41- - :pipeline:`$group` and :pipeline:`$lookup` pipeline stages when
42- specific conditions are met. For more information, see
43- :ref:`sbe-pipeline-optimizations`.
45+ To see whether your query used the {+sbe-short+}, refer to the
46+ :ref:`sbe-determine-query-engine` section.
4447
45- - :pipeline:`$match` and :pipeline:`$project` pipeline stages that use
46- supported query operators and expressions.
47-
48- - Certain :pipeline:`$sort` pipeline stages that do not include
49- :expression:`$meta` sorts.
50-
51- - :method:`~db.collection.find()` queries that use supported query
52- operators and expressions.
53-
54- .. note::
55-
56- The {+sbe-short+} does not support :ref:`geospatial query operators
57- <query-operators-geospatial>`.
48+ .. _sbe-determine-query-engine:
5849
5950Determine which Query Engine was Used
6051-------------------------------------
@@ -67,7 +58,8 @@ Check Query Explain Results
6758
6859The explain results for a query differ based on
6960which query engine was used. For example, explain results for queries
70- executed using the {+sbe-short+} include the ``explain.queryPlanner.winningPlan.slotBasedPlan`` field.
61+ executed using the {+sbe-short+} include the
62+ ``explain.queryPlanner.winningPlan.slotBasedPlan`` field.
7163
7264For more information about the differences in explain results between
7365query engines, see :ref:`explain-output-structure`.
0 commit comments