Commit Graph

10 Commits

Author SHA1 Message Date
Charlie Swanson
a8414a21ef SERVER-25054 Error if aggregation uses text score without text search. 2016-07-14 16:18:39 -04:00
Geert Bosch
b62dcab903 SERVER-24766 Rename error code 15999 to InvalidPipelineOperator 2016-07-13 13:48:28 -04:00
Mark Benvenuto
6dcdd23dd3 SERVER-23971 Clang-Format code 2016-05-28 17:55:12 -04:00
Jonathan Abrahams
4ae691e8ed SERVER-22468 Format JS code with approved style in jstests/ 2016-03-09 12:18:14 -05:00
Mike Grundy
bca7050e6f SERVER-22341 fix jslint errors in jstests/aggregation with eslint --fix 2016-02-05 15:00:49 -05:00
Mathias Stearn
0ffa726629 SERVER-12708 Report errors from shards when mergingPresorted results.
To prevent similar issues from happening in the future, all code to pull
results off of the shards cursors in agg now go through a single function.
This function was enhanced to propagate runtime error codes as we already do
with parse-time errors reported from the shards.
2014-02-19 17:15:07 -05:00
Mathias Stearn
19820f5a43 SERVER-12488 Assume we don't need textScore if not doing text query
This means we won't ask the query framework for the score since there
shouldn't be any. This ensures that results for missing text scores are
consistent with missing fields.
2014-02-10 18:48:28 -05:00
Matt Dannenberg
a4d29c5259 SERVER-11675 more testing of $text in agg 2014-02-06 14:47:14 -05:00
Mathias Stearn
e3a5eb3ece SERVER-11675 Always assume we need score if doing a $text query in agg
Code to decide if it was needed didn't work in all cases.
2013-12-23 13:04:15 -05:00
Mathias Stearn
170e563e4c SERVER-11675 Agg text support
To enable this, Documents now can store "metadata" that gets carried though
the pipeline as long as the result is the same logical document. This includes
crossing the shard-to-merger boundary.
2013-12-18 19:09:17 -05:00