Commit Graph

8 Commits

Author SHA1 Message Date
Anton Korshunov 0fc5b56b12 SERVER-51823 Use classic engine to evaluate queries containing expressions not supported in SBE 2021-02-14 15:30:07 +00:00
Justin Seyster cdec685db9 SERVER-49227 Tag tests to be excluded from aggregation_slot_based_execution 2020-08-18 23:23:42 +00:00
David Storch 1b75fcdcaf SERVER-43816 Push $text and $meta:"textScore" sort into the PlanStage layer.
This change involves unifying the behavior of find and
agg for validation of $meta:"textScore". In particular, find
operations no longer require a "textScore" $meta projection
in order to specify a "textScore" $meta sort. This brings
find into alignment with agg, which never had such a
restriction. It is also now legal for a find command to
sort on the field overridden by a $meta:"textScore" projection
without specifying the $meta operator in the sort pattern.

In addition:
 - Tightens validation around uses of "textScore" $meta
 projections for queries that do not specify a $text
 predicate.
 - Fixes a bug in which $natural sort/hint were not
 correctly validated.
2019-12-18 03:28:25 +00:00
David Storch 8d048a3bb2 SERVER-7568 Push $sort into PlanStage layer even for blocking SORT plans.
This change results in the multi-planning mechanism
evaluating both non-blocking and blocking plans for the
$sort when possible. The system should no longer select a
non-blocking plan when a plan with a SORT stage is superior.
2019-10-22 21:32:40 +00:00
James Wahlin 39c3a5d77b SERVER-42773 Replace uses of the assert.writeOK() Javascript assertion with assert.commandWorked() 2019-08-14 13:52:59 +00:00
clang-format-7.0.1 134a408395
SERVER-41772 Apply clang-format 7.0.1 to the codebase 2019-07-27 11:02:23 -04:00
Anton Korshunov d47bbc343a SERVER-24860 Optimize away entire pipeline if it can be answered using a query 2019-04-03 12:19:22 +01:00
Charlie Swanson bc3e230523 SERVER-30704 Use ARM to merge agg cursors on mongos. 2017-09-01 15:36:35 -04:00