diff options
author | David Storch <david.storch@mongodb.com> | 2019-12-18 03:28:25 +0000 |
---|---|---|
committer | evergreen <evergreen@mongodb.com> | 2019-12-18 03:28:25 +0000 |
commit | 1b75fcdcaf9c320ef8b916204d1eb51c4bab8a5f (patch) | |
tree | 237bb5cddc47f6918992d10f343ede42acf204e0 /jstests/httpinterface | |
parent | e83c51c61fa9907459e1cfac9e4bb3517445612f (diff) | |
download | mongo-1b75fcdcaf9c320ef8b916204d1eb51c4bab8a5f.tar.gz |
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.
Diffstat (limited to 'jstests/httpinterface')
0 files changed, 0 insertions, 0 deletions