summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec/document_value/document.cpp
AgeCommit message (Collapse)Author
2024-06-13SERVER-91339 Load redacted document into cache to avoid cache reallocation ↵Ivan Fefer
(#23244) GitOrigin-RevId: eea3eadada403cb53bed26fa42104126b5ca7181
2024-06-06SERVER-89260 Use sized delete where possible (#22820)Ryan Berryhill
GitOrigin-RevId: 48a6e3df8b17f4db47bf607cb0a5343cbe3c78fc
2024-06-04SERVER-91118 Return correct result when reading cached document field after ↵Rui Liu
the field is removed (#22887) GitOrigin-RevId: 6028a354a803c1e3db09d9b740eaf8a24da62e91
2024-05-29SERVER-90871 Fix reading sub-field of scalar in ↵Rui Liu
Document::getNestedFieldNonCaching (#22647) GitOrigin-RevId: a23bb1c6221c29937ccc05468cce1a5c41593a70
2024-05-28Revert "SERVER-90871 Fix reading sub-field of scalar in ↵auto-revert-app[bot]
Document::getNestedFieldNonCaching (#22581)" (#22638) Co-authored-by: auto-revert-processor <devprod-si-team@mongodb.com> GitOrigin-RevId: 9d89a061f4920131fd6ae72ae7146aa2c101539b
2024-05-28SERVER-90871 Fix reading sub-field of scalar in ↵Rui Liu
Document::getNestedFieldNonCaching (#22581) GitOrigin-RevId: dc36ba04c61ae94355cdf89ce18778c637d47f2a
2024-04-01SERVER-87632 Remove std::variant from SortKeyGenerator hot path where ↵Nick Zolnierz
possible (#19925) GitOrigin-RevId: 40a369a271f2dd895302427b8f64776751a4bd24
2024-02-16SERVER-86619 Fix out-of-bounds access bug in Document for empty field (#18997)Ian Boros
GitOrigin-RevId: c5f723d2b759956381360bbbcd4d8606fc733da6
2023-12-03SERVER-82900 Removed mongo/stdx/variant.h and switched to std::variantVinod Kumar
GitOrigin-RevId: 2aa03564ad22ec0b4a3517924ec2cec3bfb2e208
2023-11-13SERVER-83150 make Document::shred() copy document metadataMickey. J Winters
2023-11-02SERVER-48429 StringDataComparatorBilly Donahue
2023-10-11SERVER-81046 create $searchSequenceToken meta expression and add ↵madelinezec
requireSequenceTokens to SearchCommand.CursorOptions to enable pagination of $search queries
2023-10-05SERVER-79975 add document shredder stageMickey. J Winters
2023-09-28Revert "SERVER-79975 add document shredder stage"auto-revert-processor
This reverts commit 1a474953f59a356c1a8da08f2463be30af4610ae.
2023-09-27SERVER-79975 add document shredder stageMickey. J Winters
2023-09-23SERVER-81059 bulk-revert of include of boost iif.hppBilly Donahue
2023-07-26SERVER-79028 Add limit after merging shards for $vectorSearchHima Sheth
2023-07-10SERVER-78284 Project vectorSearch distance into result documentsAlyssa Wagenmaker
2023-07-07SERVER-75629 Replace newStorageWithBson() with reset()Foteini Alvanaki
2023-06-22SERVER-77044 IWYU Automated changes for up to end ratio 0.4Daniel Moody
2023-06-13SERVER-77730 For kEmptyDoc init snapshottedApproximateSize on constructionIvan Fefer
2023-04-06SERVER-74301 Optimize serialization behavior for $changeStreamSplitLargeEventRomans Kasperovics
2023-02-22SERVER-73204 Designate $searchSortValues as a metadata fieldBen Shteinfeld
2023-01-19SERVER-71835 Allow >16MB BSON in intermediate resultsRomans Kasperovics
2022-08-10SERVER-61281 Use memoization for Document::getApproximateSizeNikita Lapkov
2022-08-03Revert "SERVER-61281 Use memoization for Document::getApproximateSize"Kyle Suarez
This reverts commit 112b848eada25cb0161a229592afec5030079d6b.
2022-07-28SERVER-61281 Use memoization for Document::getApproximateSizeNikita Lapkov
2022-04-29SERVER-65278 added clang-tidy v4 builder and fixed clang-tidy v4 issues.Daniel Moody
2022-01-13SERVER-62499 Augment DocumentStorage APIs to accept pre-computed hashesDan Larkin-York
2021-12-19SERVER-62158 Fix novel UBSAN issues found with clang 12Andrew Morrow
2021-09-27SERVER-59847 Limit FieldPath depth in DocumentTed Tuckman
2021-05-25SERVER-57130 Traverse arrays while filling the Document cachesamontea
2021-05-19SERVER-55786 Update PartitionIterator memory usage when documents are releasedNick Zolnierz
This commit also handles the inflation of Documents as expressions are evaluated due to the internal caching in the Document class.
2021-05-10SERVER-53760 Improved document size approximation for spilling to diskMohammad Dashti
Co-authored-by: Mihai Andrei <mihai.andrei@10gen.com>
2021-05-04SERVER-55058 More move optimizations for Document/ValueDenis Grebennicov
2020-11-13SERVER-49744 Per-document scoring metadata for $searchMihai Andrei
2020-07-27SERVER-49300 Add all BSON types to the lexer and add $const to parserJacob Evans
2020-04-01SERVER-45763 optimize sort key generationIan Boros
2020-03-25SERVER-43361 Remove compatibility with 4.2 sort key formatDavid Storch
This logic was necessary in 4.4 to support the 4.2/4.4 upgrade/downgrade process. A 4.6 node can always use the new array-based sort key format, since it never communicates with a 4.2 mongos or mongod.
2020-02-20SERVER-45216 Rename Document::size() to Document::computeSizeSvilen Mihaylov
2020-02-19SERVER-45418 Avoid explicitly batching documents in $cursor for count-like ↵David Storch
aggregates.
2019-12-13SERVER-43669 Serialize "sortKey" as BSONArrayJustin Seyster
2019-11-13SERVER-44487 Only construct Values in DocumentStorage cache for looked-up ↵David Storch
fields.
2019-11-02SERVER-44383 Use trivial BSON conversion for sort key generationJustin Seyster
2019-10-29SERVER-42713 Consistent sort key format for change streams pipelinesJustin Seyster
2019-10-10SERVER-42560 Simplify passing of metadata between DocumentSource and PlanStageIan Boros
2019-10-01SERVER-42302 Move Document/Value library to db/exec/document_value directory.David Storch
Document/Value is now used throughout the query execution engine, and therefore should move into the directory which holds query execution code.