summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/index_bounds_builder_test.cpp
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-45152 Demote invariant to massert to prevent server crashesJacob Evans2020-01-071-0/+26
|
* SERVER-41700 query $type:xxx defaults to exact bounds or inexact covered ↵Sophie Saskin2019-12-201-7/+8
| | | | bounds whenever possible
* SERVER-44601 Split index_bounds_builder_test.cpp into multiple test to ↵Nicholas Zolnierz2019-11-151-1838/+82
| | | | address -fvar-tracking-assignments warning
* SERVER-44377 generate correct plan for indexed inequalities to nullIan Boros2019-11-111-39/+130
|
* SERVER-35921 Make IXSCAN use the proper MinKey/MaxKey bounds on LT and GTMisha Ivkov2019-08-051-6/+8
|
* SERVER-39863 remove std using namespace directivesBilly Donahue2019-02-281-180/+178
|
* SERVER-39560 - remove leading blank line on all C++ filesBilly Donahue2019-02-131-1/+0
| | | | | | Remove leading comments that are just stating the filename. Move any file-level comments below the copyright banner. Remove leading blank lines.
* SERVER-38069: Ensure WT transactions are not re-opened during plan updatesJacob Evans2018-12-181-164/+190
|
* Revert "SERVER-38069 Ensure WT transactions are not re-opened during plan ↵Gregory Wlodarek2018-12-141-190/+164
| | | | | | updates" This reverts commit ac39ac47d776bbd0f442f945d4ae6091b73cfb03.
* SERVER-38069 Ensure WT transactions are not re-opened during plan updatesJacob Evans2018-12-141-164/+190
|
* SERVER-37651 Update header files with new licenseRamon Fernandez2018-10-221-8/+10
|
* SERVER-35333 caching plans for allPaths indexesIan Boros2018-08-311-1/+1
|
* SERVER-34846 Forwardize IndexBounds before intersectizing their OILsIan Boros2018-07-311-0/+15
|
* SERVER-27646 Build index bounds for {$ne: null} predicatesCharlie Swanson2018-06-201-2/+286
|
* SERVER-23202: Query planner does not trim certain bounds-generating ↵Nick Zolnierz2018-03-141-3/+320
| | | | inequality predicates from expression tree
* SERVER-31760 Add index support for InternalExprEqMatchExpression.David Storch2017-12-291-0/+76
|
* SERVER-20432 allow some escaped | chars in regexes to use tight index boundsKyle Suarez2017-10-261-3/+46
|
* SERVER-21011 Fix query correctness problem related to covered matching for ↵David Storch2017-10-131-0/+50
| | | | | | | | | | 2d/text indexes. The fix ensures that the tightness predicates over the trailing fields of 2d/text indexes is checked. Predicates which are INEXACT_FETCH will then get affixed to the FETCH stage of the plan rather than incorrectly affixed to the IXSCAN.
* SERVER-30731 MatchExpressionParser::parse() should require an ExpressionContextTess Avitabile2017-09-291-2/+3
|
* SERVER-30245 Add support for multiple types in JSON Schema 'type'/'bsonType' ↵David Storch2017-08-291-0/+55
| | | | | | | | | and in $type. This change implements the 'type' and 'bsonType' JSON Schema keywords accepting an array of type aliases. At the same time, it adds support for an array of type aliases in the $type match expression.
* SERVER-29840 Add allowed features bitmask to MatchExpressionParser::parseTess Avitabile2017-08-251-3/+1
|
* SERVER-1475 Make $type:'array' match outer arrays.David Storch2017-05-081-0/+18
| | | | | | | | | | | | | Prior to this change, the semantics of $type were that it only matches documents with nested arrays, e.g. {x: {$type: 'array'}} would match {x: [1, [2, 3]]} but not {x: [1, 2, 3]}. This is inconsistent with the matching semantics for other query predicate operators, which apply both to the individual array elements and the array as a whole. The new behavior is that single-level arrays as well as nested arrays will match {$type:'array'}. This is a breaking change for applications which rely on the old behavior.
* SERVER-26672 Generate exact bounds for timestamps in index bounds builderMarko Vojvodic2016-11-071-1/+1
| | | | | | This commit also replaces BSONElement::isSimpleType with Indexability::isExactBoundsGenerating, since the isSimpleType construct was only used within the query system.
* SERVER-23093 avoid extra predicate evaluation for indexed collation-aware ↵David Storch2016-08-151-14/+14
| | | | queries
* SERVER-23971 Clang-Format codeMark Benvenuto2016-05-281-12/+8
|
* SERVER-23349 make CollatorInterface methods constDavid Storch2016-05-041-1/+1
| | | | Also changes all uses of CollatorInterface* to pointers-to-const.
* SERVER-23608 Make MatchExpressionParser take a CollatorInterface*Tess Avitabile2016-04-261-1/+2
|
* SERVER-22786 update index bounds builder for collationsDavid Storch2016-03-181-25/+681
| | | | | | | | The IndexBoundsBuilder must use collator-generated comparison keys when generating bounds for strings, rather than the string itself. The bounds builder also enforces the property that regex predicates cannot use tight bounds if the index has a collation.
* SERVER-21407 explicitly disallow $text/$where extensions during ↵David Storch2015-12-221-1/+3
| | | | MatchExpression parsing
* SERVER-15508: Have the shell accept all unsigned Timestamp valuesGeert Bosch2015-10-301-0/+19
| | | | Also rejects negative Timestamp time and increment arguments and canonicalizes types.
* SERVER-19349 Fix lint in index_bounds_builder_test.David Hatch2015-07-281-2/+1
|
* SERVER-19348, SERVER-19349: Correct index bounds on $type and $mod.David Hatch2015-07-281-1/+27
|
* SERVER-19243 $type to support "number"Qingyang Chen2015-07-131-0/+27
|
* SERVER-16889 StatusWithMatchExpression replace ME* with unique_ptr<ME>Qingyang Chen2015-07-061-1/+1
|
* SERVER-18579: Clang-Format - reformat code, no comment reflowMark Benvenuto2015-06-201-1333/+1353
|
* SERVER-17309 Replace std::auto_ptr<T> with std::unique_ptr<T>Andrew Morrow2015-06-101-39/+39
|
* SERVER-18461 cover range predicates comparing BinData in building index boundscoollog2015-06-051-0/+72
| | | | | | Closes #973 Signed-off-by: David Storch <david.storch@10gen.com>
* SERVER-13874 Make mongo::Milliseconds et al. aliases for equivalent ↵Andy Schwerin2015-05-131-1/+1
| | | | | | | | stdx::chrono types. Also introduces operators for adding stdx::chrono::duration to Date_t, subtracting two Date_ts to get Milliseconds, and remove the use of reinterpret_cast from the implementation of BSON Timestamp type.
* SERVER-17659 IndexEntry: add new member 'filterExpr' to structJason Rassi2015-05-071-0/+1
|
* SERVER-9035 allow left-anchored regular expressions with the 's' option to ↵David Storch2015-02-201-0/+41
| | | | use tighter index bounds
* SERVER-15605 add index bounds builder unit tests for NaNDavid Storch2015-02-051-0/+71
|
* SERVER-15802 if an equality over a single-field unique index can be used to ↵David Storch2015-01-161-2/+3
| | | | index an AND, ignore all other indices
* SERVER-13256 Add usings and qualifications for names from namespace stdAndrew Morrow2015-01-151-0/+3
|
* SERVER-15235 regular expressions with the '|' character must be classified ↵David Storch2014-11-121-0/+33
| | | | as simple
* SERVER-14742 delete old explain and turn on explain 2.0David Storch2014-09-031-0/+50
|
* SERVER-13890 index bounds builder should not pass already-constructed ↵David Storch2014-05-091-0/+15
| | | | intervals to translate()
* SERVER-12557 allow exists queries to use an indexSamantha Ritter2014-02-281-0/+53
| | | | Signed-off-by: Matt Kangas <matt.kangas@mongodb.com>
* SERVER-12532 negated predicates can use an indexDavid Storch2014-02-141-0/+62
|
* SERVER-12460 Relocate fast count code for 2.6, port old tests over for new ↵samantharitter2014-02-141-0/+201
| | | | | | version. Signed-off-by: Matt Kangas <matt.kangas@mongodb.com>
* SERVER-12354 SERVER-12144 plan compound text correctlyHari Khalsa2014-02-131-2/+42
|