summaryrefslogtreecommitdiff
path: root/src/mongo/db/query
Commit message (Collapse)AuthorAgeFilesLines
...
* SERVER-27200 fix CodeWScope comparison to not use collatorDavid Storch2016-12-062-0/+116
|
* SERVER-27065 cleanup ClientCursor, ClientCursorPin, and CursorManagerDavid Storch2016-12-021-19/+20
| | | | | | | | | | | - Makes cursors come into existence pinned. This fixes a race condition in which a cursor could time out in between being constructed/retrieved and being pinned. - Reduces the public interface of ClientCursor. In particular, makes ClientCursor's constructor and destructor private. - Cleans up header file comments in order to more clearly indicate expected usage.
* SERVER-27030 Improve error for legacy find/getMore on viewJames Wahlin2016-11-161-2/+21
|
* SERVER-26672 Generate exact bounds for timestamps in index bounds builderMarko Vojvodic2016-11-075-8/+27
| | | | | | This commit also replaces BSONElement::isSimpleType with Indexability::isExactBoundsGenerating, since the isSimpleType construct was only used within the query system.
* SERVER-25654 Don't use int millis for elapsed timeGeert Bosch2016-10-242-3/+3
|
* SERVER-24512 remove dead Interval codeDavid Storch2016-10-142-55/+0
|
* SERVER-25821 make max insert batch size on primary tunableSam Rossi2016-10-122-0/+6
|
* SERVER-19042 Make globalScriptEngine a decoration on ServiceContext where ↵Jonathan Reams2016-10-031-1/+1
| | | | possible
* SERVER-26230 DocumentSourceCursor should reset keysExamined and docsExamined ↵Tess Avitabile2016-09-301-0/+3
| | | | between batches
* SERVER-26334 fix mongos handling of ntoreturn:1Charlie Swanson2016-09-282-5/+6
|
* SERVER-26331 Skip computing plan cache key for idhack queriesTess Avitabile2016-09-271-10/+13
|
* SERVER-24755 fix explain to handle collection drop during yieldDavid Storch2016-09-263-1/+16
|
* SERVER-26072 add collation support for 59 new localesDavid Storch2016-09-163-407/+929
| | | | | | | | We now support all collations that are supported by ICU 57.1, except for aliases. See the SERVER ticket for a list of the new locales. The exact ICU data files which we now package into MongoDB is given by COLLATION_SOURCE in ICU 57.1's colfiles.mk.
* SERVER-26033 Allow simple range to exclude start keyJudah Schvimer2016-09-1512-136/+276
|
* SERVER-23990 move BSONObj/BSONElement hashing into ↵David Storch2016-09-091-0/+156
| | | | {BSONObj,BSONElement}::ComparatorInterface
* SERVER-25865 stdx::unordered_map and stdx::unordered_setDavid Storch2016-09-085-22/+22
| | | | | On Windows, these are aliases for boost containers. On other platforms they are aliases for std containers.
* SERVER-25186 support a default collation for viewsKyle Suarez2016-09-062-5/+10
| | | | | Users may specify a default collation when creating a view. Operations involving a view cannot override the view's default collation.
* SERVER-24991 log redaction for matcher, ops, pipeline, queryThomas Schubert2016-09-0210-75/+75
|
* SERVER-24508 BSONElement::ComparatorInterfaceDavid Storch2016-09-023-5/+11
|
* SERVER-24153 Allow pipelines within $facet stage to process in batches.Charlie Swanson2016-09-012-0/+5
| | | | | This approach removes the need to buffer all documents in memory, thus removing concerns about spilling intermediate results to disk.
* SERVER-25683 reject invalid combinations of collation optionsDavid Storch2016-08-302-0/+163
|
* SERVER-25126 Return a different error code if the step down occurs after the ↵Siyuan Zhou2016-08-251-2/+2
| | | | write
* SERVER-19507 allow DISTINCT_SCAN over trailing field of an indexAnton Guryanov2016-08-251-6/+6
| | | | | | Closes #1101 Signed-off-by: David Storch <david.storch@10gen.com>
* SERVER-24508 delete BSONObjCmpDavid Storch2016-08-2313-56/+79
| | | | Instead, use BSONObj::ComparatorInterface.
* SERVER-24439 code cleanup for collation shard targetingTess Avitabile2016-08-233-2/+6
|
* SERVER-25190 unit tests for view query transforms to aggregationKyle Suarez2016-08-195-3/+552
|
* SERVER-24401 allow DISTINCT_SCAN plans over collator comparison keysDavid Storch2016-08-181-32/+83
|
* SERVER-24508 BSONObj::ComparatorInterfaceDavid Storch2016-08-1822-165/+207
| | | | | | | | | | | BSONObj instances should now be compared via the comparator interface's evaluate() method. This preferred over using BSONObj::woCompare() directly. If the comparison doesn't require any database semantics (e.g. there is no collation), there is a global instance of the SimpleBSONObjComparator which should be used for BSONObj comparisons. If the comparison requires special semantics, then callers must instantiate their own comparator object.
* SERVER-25235: singleBatch special case in QueryRequest::asAggregationCommandKyle Suarez2016-08-162-5/+27
| | | | | When converting a QueryRequest into an aggregation command, drop the 'singleBatch' option if 'limit' is present and set to 1.
* SERVER-25402 Fewer binaries depend on interpolated version infoAndrew Morrow2016-08-151-2/+3
|
* SERVER-23093 avoid extra predicate evaluation for indexed collation-aware ↵David Storch2016-08-156-54/+217
| | | | queries
* SERVER-24439 Make mongos commands over sharded collections inherit the ↵Tess Avitabile2016-08-052-0/+13
| | | | collection default collation
* SERVER-24239 Allow use of names in index filter commands.David Hatch2016-08-048-86/+193
|
* SERVER-25005 Use Pipeline to execute $lookup and $graphLookup.Max Hirschhorn2016-08-041-23/+0
| | | | | | | | | | | | Replaces the usages of DBDirectClient::query() in DocumentSourceLookUp and DocumentSourceGraphLookUp to instead parse and execute a Pipeline. Simplifies the registration process of the "inner" plan execution in an aggregation pipeline. The DocumentSourceCursor class now owns its PlanExecutor and the PipelineProxyStage class no longer has a std::weak_ptr to it. The "inner" plan executor is registered with the CursorManager of the underlying Collection and will receive invalidation notifications if a catalog operation occurs.
* SERVER-24239 Refactor QuerySettings to use values instead of unowned pointer.David Hatch2016-08-025-94/+34
|
* SERVER-24767 Replicate viewsGeert Bosch2016-08-011-3/+2
|
* SERVER-24621 make find command min/max respect the collationDavid Storch2016-07-294-25/+189
|
* SERVER-24762 Support for views on sharded collectionsJames Wahlin2016-07-292-7/+6
|
* SERVER-24239 Allow creation of indexes with the same key pattern.David Hatch2016-07-2817-216/+248
|
* SERVER-24320 PlanCacheIndexTree should have same sort order as ↵Tess Avitabile2016-07-264-6/+25
| | | | MatchExpression used to generate plan cache key
* Revert "SERVER-24766 don't force a move in ViewResponseFormatter constructor"Kyle Suarez2016-07-221-1/+1
| | | | This reverts commit 3b3c14bb60b365cde5caf68a2982fd9f6481cede.
* SERVER-24766 don't force a move in ViewResponseFormatter constructorKyle Suarez2016-07-221-1/+1
|
* SERVER-24766 views support for count and distinctKyle Suarez2016-07-218-10/+327
| | | | | | Adds a new class, ViewResponseFormatter, for transforming aggregation responses into responses for other commands with a dissimilar format (i.e. count and distinct).
* SERVER-23990 add ValueComparator::Hasher for collation-aware Value hashingDavid Storch2016-07-192-3/+3
|
* SERVER-23990 move StringData hashing to StringData::ComparatorInterfaceDavid Storch2016-07-195-7/+86
| | | | This allows strings to be hashed in a collation-aware fashion.
* SERVER-24766 find command support for viewsKyle Suarez2016-07-192-0/+125
|
* SERVER-24761 Abort entire query plan when a catalog operation occurs.Max Hirschhorn2016-07-141-0/+4
| | | | | | Plan execution cannot proceed if the collection or a candidate index was dropped during a yield. This prevents the subplanner from trying to build plan stages when the collection and indexes no longer exist.
* SERVER-23138 make CanonicalQuery normalize $nor with one child to a NOT ↵David Storch2016-07-133-4/+56
| | | | expression
* SERVER-23924 Make _id index inherit the collection's default collationTess Avitabile2016-07-081-3/+20
|
* SERVER-24415 Replace instances of shared_ptr<CollectionMetadata> with ↵Leon Zaruvinsky2016-07-071-2/+1
| | | | ScopedCollectionMetadata