Commit Graph

156 Commits

Author SHA1 Message Date
Aaron
9cc4038d7e SERVER-2864 allow generating a query pattern when there is an invalid range for a field 2011-09-13 08:38:19 -07:00
Aaron
2749b350f1 SERVER-3545 uassert if elemMatch specified with ithin in or nin 2011-08-08 23:10:24 +00:00
Eliot Horowitz
f6896afc92 toString on some Field* classes 2011-08-05 11:42:56 -04:00
Aaron
d58c4c23f6 SERVER-3373 query optimizer optimizations, primarily for non or queries 2011-08-04 22:10:34 -07:00
Mathias Stearn
431da10ff6 Don't optimize regexs with a '|' in them SERVER-3298 2011-08-01 19:14:03 -04:00
Aaron
8d324fca47 SERVER-2258 specify 'undefined' for empty array index bounds 2011-07-31 08:51:43 -07:00
Eliot Horowitz
7794a82e5e removed global debugString with Message::toString 2011-06-26 18:36:05 -04:00
Dwight
89581c108f fix hint1.js and minkey for date which is now tricky as we support a couple different compare semantics for V0 and V1 indexes 2011-06-06 12:40:41 -04:00
Aaron
02f6e93904 SERVER-2952 convert some masserts to uasserts 2011-06-03 10:55:22 -04:00
Aaron
41be5821f3 remove BSONObjSetDefaultOrder and avoid inheriting from stl class 2011-06-02 13:34:26 -04:00
Aaron
c2f4f2c8da SERVER-1089 merge assert codes 2011-06-02 10:55:39 -04:00
Aaron
635d2a680d SERVER-1089 add and operator 2011-06-02 10:23:33 -04:00
Aaron
70fbe10acf SERVER-480 SERVER-2884 Perform in memory sorts by generating keys suitable for an index 2011-06-02 10:23:32 -04:00
dwight
8a0660ac31 use firstElementFieldName() 2011-05-23 20:03:19 -04:00
Aaron
e780ffc12f SERVER-958 Looser bounds for multikey indexes with parallel nested fields 2011-05-02 10:33:53 -07:00
Aaron
4786360d41 SERVER-958 Prefer fully contained multikey ranges since they are smaller. 2011-05-02 10:33:52 -07:00
Aaron
ddd7dd323d rename FieldRangeOrSet to OrRangeGenerator 2011-05-02 10:33:52 -07:00
Aaron
a9f50f1930 FieldRangeSet::trivialRange() should return a const reference 2011-05-02 10:30:50 -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
098e605f53 queryutil move some implementations out of header 2011-04-05 16:50:57 -07:00
Aaron
c245d7d363 queryutil variable name 2011-04-05 16:50:57 -07:00
Aaron
85ffb652ff queryutil comments 2011-04-05 16:50:57 -07:00
Aaron
3a5326d9b4 SERVER-2322 Allow specification of non boolean value with exists operator 2011-04-05 13:14:16 -07:00
Aaron
a7360cc67f SERVER-393 Use index bounds for exists:false 2011-04-05 13:14:16 -07:00
Mathias Stearn
19639446c1 Support \Q..\E quoting in simpleRegex parser SERVER-2862 2011-03-29 15:39:12 -04:00
Aaron
4993a1bf79 SERVER-2829 arrays within an in clause should match themselves 2011-03-25 11:31:10 -07:00
Aaron
c887ab329f SERVER-2245 use original IndexSpec with full attributes in FieldRangeVector 2011-03-21 21:52:21 -07:00
Eliot Horowitz
b828d21630 ran astyle SERVER-2304 2011-01-04 00:40:41 -05:00
Aaron
f337669402 SERVER-2245 use IndexSpec::GetKeys for or deduping 2010-12-22 18:58:54 -08:00
Eliot Horowitz
5db8692c42 raise the combinatorial limit for #in queries to 4M SERVER-2205 2010-12-10 16:02:27 -05:00
Aaron
80bfc4b182 SERVER-2189 2010-12-07 23:01:40 -08:00
Eliot Horowitz
a0de804492 more FieldMatcher cleaning 2010-11-15 16:36:02 -05:00
Eliot Horowitz
48ad70487a starting FieldMatcher cleaning 2010-11-15 16:36:01 -05:00
Aaron
41b422b789 SERVER-1883 expand nested array fields when testing document for match with previous or clause 2010-10-03 14:29:49 -07:00
Aaron
d3b2dddd74 SERVER-1883 in or de duping, correctly retrieve nested field for match document 2010-10-02 12:25:35 -07:00
Alberto Lerner
d1c483349f debugging 2010-09-22 17:46:15 -04:00
Aaron
57c2cf9b01 SERVER-1213 allow splitting of or ranges 2010-09-14 14:30:18 -07:00
Aaron
d983964bf1 SERVER-726 calculate bound unions a bit more precisely 2010-09-13 21:00:20 -07:00
Aaron
9a59b1642d comments 2010-09-13 21:00:20 -07:00
Aaron
30c59fa550 SERVER-1705 validate op type with regex 2010-08-30 20:11:00 -07:00
Aaron
efc06b3a6c SERVER-1212 deal with elemMatch later 2010-08-30 14:49:52 -07:00
Aaron
3b6de560b8 SERVER-1212 ne range negation checkpoint 2010-08-30 14:09:01 -07:00
Aaron
fe7a8dfaf4 SERVER-726 optimize exclusive bounds 2010-08-18 11:42:58 -07:00
Aaron
fef8cb5de8 add comments for btree skipping code 2010-08-16 17:39:01 -07:00
Eliot Horowitz
13c5f09215 fix messag debugging 2010-07-23 17:15:01 -04:00
Eliot Horowitz
030009364d messasge debugging 2010-07-23 16:06:06 -04:00
Eliot Horowitz
df2a72efff fix size() for sharding SERVER-1444 2010-07-22 09:51:22 -04:00
Aaron
7782698bb8 move slow test that is now fast, add small optimization to cursor advance 2010-07-21 00:10:10 -07:00