Commit Graph

117 Commits

Author SHA1 Message Date
gregs
f78d25f6e2 don't override cursor matcher with default op matcher 2011-05-11 13:41:46 -04:00
Aaron
217b88af17 SERVER-2977 assert rather than crash on invalid cursor access 2011-05-09 13:00:04 -07:00
Aaron
bd29441d12 SERVER-2977 initial version of query optimizer cursor 2011-05-04 10:28:57 -07:00
Aaron
ddd7dd323d rename FieldRangeOrSet to OrRangeGenerator 2011-05-02 10:33:52 -07:00
Aaron
3af50f5b94 SERVER-958 merge and address mongos dependency differences 2011-04-25 13:29:51 -07:00
Aaron
a227326132 SERVER-958 Track non single key field ranges and utilize them in query planning 2011-04-25 13:29:50 -07:00
Aaron
5b25538d15 code style 2011-04-07 16:07:29 -07:00
Aaron
0b9d3a5c22 missed merge 2011-04-07 13:04:01 -07:00
Aaron
8511c5702b queryoptimizer comments and cleanup 2011-04-07 13:04:01 -07:00
gregs
a3b7bb6b83 skip indices which require sorting for distinct SERVER-2135 2011-04-06 14:05:43 -04:00
Aaron
65096208af queryoptimizer variable names 2011-04-05 18:57:09 -07:00
gregs
215f3b479e only add covered matcher manually if a matcher does not exist SERVER-1742 2011-04-01 09:11:48 -04:00
Aaron
86ae5d6fd9 SERVER-1932 Don't check invalid field range with table scan 2011-03-31 14:58:17 -07:00
Eliot Horowitz
b828d21630 ran astyle SERVER-2304 2011-01-04 00:40:41 -05:00
Aaron
80bfc4b182 SERVER-2189 2010-12-07 23:01:40 -08:00
Eliot Horowitz
999ae13629 get if a cursor is a multi key 2010-11-15 10:22:20 -05:00
Eliot Horowitz
1dde63e9b1 qo standards 2 2010-11-12 18:22:19 -05:00
Eliot Horowitz
c0b32b52fd qo standards 2010-11-12 18:16:49 -05:00
Eliot Horowitz
195b62c1e8 qo cleaning 2010-11-12 18:08:51 -05:00
Eliot Horowitz
f5f012c46d method on cursor to say if a key might be different than in the object 2010-11-12 18:03:06 -05:00
dwight
c34a3100fe more cleaning toward conventions 2010-10-19 09:13:57 -04:00
Aaron
57c2cf9b01 SERVER-1213 allow splitting of or ranges 2010-09-14 14:30:18 -07:00
Aaron
701dc65282 SERVER-1528 account for expensive skipping operations in nscanned 2010-08-03 20:09:16 -07:00
Aaron
e6ad6ecb02 SERVER-1453 yield during geo query 2010-08-02 15:43:53 -07:00
Eliot Horowitz
eb194af185 Cursor::supportYields SERVER-1453 2010-07-24 21:58:39 -04:00
Aaron
486308ccf5 avoid matching old or clauses unnecessarily 2010-07-20 14:49:36 -07:00
Aaron
decb87e5b7 bail out or clause checking if we do an unpredicted table scan 2010-07-20 13:58:58 -07:00
Aaron
cde8c8bec7 SERVER-1211 don't use simplifiedQuery for or negation 2010-07-16 03:47:26 -07:00
Aaron
5371a5e448 SERVER-802 range / in skipping 2010-07-16 01:49:15 -07:00
Aaron
f17aefd598 SERVER-1376 yield in query set runner for query,count,update,delete 2010-07-07 19:35:26 -07:00
Aaron
4798e64b1c SERVER-371 checkpoint 2010-07-07 12:26:20 -07:00
dwight
e0318143ff make issimpleidquery faster by not calling nFields() 2010-07-02 10:33:56 -04:00
Aaron
6dd05ca594 SERVER-1217 bestGuessCursor() should always honor sort spec 2010-06-28 12:44:23 -07:00
Eliot Horowitz
a71cc3cd4b cleaning exceptions 2010-06-21 13:41:34 -04:00
Aaron
eabc79c785 SERVER-109 expand $in clauses in simplifiedQuery 2010-06-09 14:43:36 -07:00
Aaron
828ca29ab4 SERVER-1206 $or hint 2010-06-09 11:18:56 -07:00
Aaron
5be4d78fba SERVER-109 handle dynamically removed or clauses when iterating clauses 2010-06-08 15:55:34 -07:00
Aaron
c8e0f33f3f compile sharding 2010-06-08 12:29:30 -07:00
Aaron
7c420d1897 SERVER-109 cursor corner cases 2010-06-07 18:23:59 -07:00
Aaron
ef38ae3d50 SERVER-109 cursor update fix and other tweaks 2010-06-07 14:13:57 -07:00
Aaron
5408868567 SERVER-109 fix mem ownership when popping or clauses, real doc lookup when required 2010-06-03 12:24:13 -07:00
Aaron
52c30c2cce SERVER-109 update or negation spec, update conversion from query to getmore cursor 2010-06-02 21:24:04 -07:00
Aaron
57caf02ff3 SERVER-109 get rid of nextSimpleQuery(), put matcher in base QueryOp, get rid of 'query' in various objects 2010-06-02 17:10:34 -07:00
Aaron
69cb3c068d SERVER-109 rename clone() createChild() 2010-06-02 13:00:20 -07:00
Aaron
11a67c2788 SERVER-109 get rid of query_ in QueryPlanSet 2010-06-02 12:48:41 -07:00
Aaron
d59931700d SERVER-109 generate frs without writing new query 2010-06-02 12:04:46 -07:00
Aaron
e327eff261 SERVER-109 reinstate FieldRangeOrSet, make FieldRangeSet a parameter to QueryPlanSet 2010-06-01 16:21:21 -07:00
Aaron
ea362c0ca4 SERVER-109 explain 2010-05-26 01:30:50 -07:00
Aaron
349d039224 SERVER-109 finish rewriting bestGuess code path 2010-05-25 16:01:06 -07:00
Aaron
713e03c506 SERVER-109 put Matcher in other Cursors, $or with distinct 2010-05-25 13:03:47 -07:00