summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec/geo_near.cpp
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-29262 Retire usage of `OwnedPointerVector` in `write_ops`.Faustoleyva542021-12-011-1/+0
|
* SERVER-57938 Skip validation for stored geometry if a 2dsphere index existsEric Cox2021-09-141-1/+3
|
* SERVER-58745 Expose computeGeoNearDistance() as an internal-only DocumentSourceRuoxin Xu2021-08-121-74/+2
|
* SERVER-57127 IndexScanParams accepts CollectionPtrBenety Goh2021-06-031-4/+4
| | | | (cherry picked from commit e312afb89845be565feac879750b78a45abd3b0c)
* SERVER-52953 $geoNear does not always match coordinate given to 'near' when ↵Mihai Andrei2021-03-021-3/+18
| | | | maxDistance is set to 0
* Revert "SERVER-52953 $geoNear does not always match coordinate given to ↵Mihai Andrei2021-01-221-18/+3
| | | | | | 'near' when maxDistance is set to 0" This reverts commit f03b0dfb195370f6ecc4616a5c9efcae97566a2f.
* SERVER-52953 $geoNear does not always match coordinate given to 'near' when ↵Mihai Andrei2021-01-121-3/+18
| | | | maxDistance is set to 0
* SERVER-50984 Add CollectionPtr to replace usage of const Collection*Henrik Edin2020-09-261-7/+7
| | | | | | | | | | | | It implements a yieldable interface that is used to re-load the Collection pointer from the catalog after a yield that released locks. With lock-free reads and copy-on-write on Collection instances releasing locks without notifying an AutoGetCollection at a higher level may cause its pointers to dangle if a MODE_X writer installs a new Collection instance in the catalog. CollectionPtr should be passed by const reference so a yield can notify all the way up.
* SERVER-48900 Remove format-string arguments from logv2 statementsMilena Ivanova2020-08-201-4/+4
|
* SERVER-48228 Move slot-based execution engine and supporting changes into ↵Martin Neupauer2020-06-111-56/+0
| | | | | | | | | | | | | | the master branch This is an initial commit for the slot-based execution engine (SBE) which contains: * Implementation of the core slot-based engine. * The SBE stage builder, which is responsible for translating a QuerySolution tree into an SBE plan. * Other changes necessary for integration with the find command. Co-authored-by: Anton Korshunov <anton.korshunov@mongodb.com> Co-authored-by: Justin Seyster <justin.seyster@mongodb.com> Co-authored-by: David Storch <david.storch@mongodb.com>
* SERVER-47873 Eliminate the Collection* saved in IndexDescriptorGeert Bosch2020-06-101-15/+33
|
* SERVER-43821 Make PlanStage and PlanExecutor return errors by throwingDavid Storch2020-05-291-20/+15
| | | | | | | | This eliminates the need for the FAILURE status codes in PlanStage and PlanExecutor, and brings query execution's error reporting more in line with that of the rest of the server. It also makes it easier for future implementations of PlanExecutor to comply with the interface.
* SERVER-47994 Fix for numerical overflow in GeoHash (part 2)Svilen Mihaylov2020-05-181-17/+11
|
* SERVER-47735 change mongo source over to logv2Billy Donahue2020-04-261-1/+1
| | | | | | - Remove several legacy logger/ files - Convert all MONGO_LOG_DEFAULT_COMPONENT to the LOGV2 version. - Globally replace logger::{LogSeverity,LogComponent} => logv2::
* SERVER-45406 Plumb ExpressionContext through PlanStageIan Boros2020-02-281-22/+22
| | | | This patch includes also moves ownership of the collator to the ExpressionContext.
* SERVER-45567 removing util/log.h where I canGabriel Russell2020-02-211-1/+0
| | | | | | | o converting some log lines that were missed o fixing some missing includes create mode 100644 src/mongo/transport/ismaster_metrics.cpp
* SERVER-45869 more automatically converted structuredGabriel Russell2020-02-201-3/+7
|
* SERVER-40358 Add assertion helpers like 'StatusOKWithContext' to all macrosEric Cox2019-12-131-3/+3
|
* SERVER-43349 Accommodate double $nots during serializationCharlie Swanson2019-11-271-1/+1
|
* SERVER-44380 Update computation of _boundsIncrement in ↵Mihai Andrei2019-11-061-2/+2
| | | | GeoNear2DStage::initialize to avoid rounding error
* SERVER-42302 Move Document/Value library to db/exec/document_value directory.David Storch2019-10-011-1/+1
| | | | | | Document/Value is now used throughout the query execution engine, and therefore should move into the directory which holds query execution code.
* SERVER-42852 Make PlanStage consistently hold children by unique_ptr.David Storch2019-09-041-84/+38
|
* SERVER-42181 Make WorkingSetMember hold Document instead of BSONObjMartin Neupauer2019-08-291-1/+1
| | | | SERVER-42157 Unowned mode for Document/Value
* SERVER-41772 Apply clang-format 7.0.1 to the codebaseclang-format-7.0.12019-07-271-9/+9
|
* SERVER-42288 Consolidate Document and WorkingSetMember metadata implementations.David Storch2019-07-261-6/+6
|
* SERVER-41071 Replace more NULLs with nullptrA. Jesse Jiryu Davis2019-06-171-2/+2
|
* SERVER-41071 Replace NULL and 0 with nullptrA. Jesse Jiryu Davis2019-06-141-7/+7
|
* SERVER-39339 Remove `stdx/memory.h`ADAM David Alan Martin2019-06-101-1/+0
|
* SERVER-39537 Migrate expression_index_knobs to IDLSara Golemon2019-02-221-3/+3
|
* SERVER-39019 Fix incorrect $elemMatch $ne serializationJames Wahlin2019-02-191-0/+4
|
* SERVER-39560 - remove leading blank line on all C++ filesBilly Donahue2019-02-131-2/+0
| | | | | | Remove leading comments that are just stating the filename. Move any file-level comments below the copyright banner. Remove leading blank lines.
* SERVER-37449 Make geoNear stages use RequiresIndexStage.David Storch2018-12-131-42/+42
|
* SERVER-37447 Introduce RequiresIndexStage and use for IXSCAN.David Storch2018-11-271-4/+4
|
* SERVER-37446 Make more PlanStages inherit from RequiresCollectionStage.David Storch2018-11-071-20/+12
|
* SERVER-37651 Update header files with new licenseRamon Fernandez2018-10-221-8/+10
|
* SERVER-37417 Plans using $** wildcard indices can return duplicate resultsyarai2018-10-151-4/+0
|
* SERVER-16857 Delete MMAPv1 diskloc invalidations.David Storch2018-08-291-10/+4
| | | | | | - Removes of PlanStage::invalidate(). - Removes RecordCursor::invalidate() from the storage API. - Removes CursorManager::invalidateDocument().
* SERVER-35500 Implement special bounds generation for allPaths indexesBernard Gorman2018-08-101-20/+10
|
* SERVER-34307 replace invariant(false) with MONGO_UNREACHABLEBenety Goh2018-04-041-3/+3
|
* SERVER-30783 Move init() logic to MatchExpression constructorsBlake Oler2017-11-141-3/+1
|
* Reapply "SERVER-30991 Introduce MatchExpression::optimize()."Justin Seyster2017-09-291-0/+4
| | | | | | This patch undoes the revert in 3cf4e0593c394dd7eb45d8000d76b5dc73a3f425 and includes minor changes to fix the compiler problem that resulted in the previous revert.
* Revert "SERVER-30991 Introduce MatchExpression::optimize()."Justin Seyster2017-09-281-4/+0
| | | | | | This reverts commit 3cf4e0593c394dd7eb45d8000d76b5dc73a3f425. Reverting because of a Clang compile error.
* SERVER-30991 Introduce MatchExpression::optimize().Justin Seyster2017-09-281-0/+4
| | | | | | | | | | | | | | | | | | | | | | This patch refactors CanonicalQuery::normalizeTree() so that the normalization logic for each type of MatchExpression goes with the class, rather than all the optimization rules getting bundled into one huge else if chain. We wanted something along the lines of an optimize() member function that would optimize 'this' and return the optimized result (possibly the same object). However, we also wanted unique_ptr semantics, so that the optimize function creates a new tree that does not include the original object, it autmotatically gets destroyed. There's no way to specify a member function that accepts a unique_ptr 'this' value. To get around that, we provide a getOptimizer() private function that returns a function with the unique_ptr signature we want: unique_ptr<MatchExpression> -> unique_ptr<MatchExpression>. This way, we still get to replace our if else chain with virtual dispatch, and we can maintain unique_ptr semantics for the MatchExpression tree.
* SERVER-30245 Make ArrayMatchingMatchExpression inherit from PathMatchExpression.David Storch2017-08-021-1/+1
|
* SERVER-29887 address clang-4.0 warnings in geo codeMathias Stearn2017-07-261-1/+1
|
* Revert "SERVER-29887 address clang-4.0 warnings in geo code"Mathias Stearn2017-07-141-1/+1
| | | | This reverts commit 8204c7dacf17851057dda165e6d1638cbff70cbf.
* SERVER-29887 address clang-4.0 warnings in geo codeMathias Stearn2017-07-131-1/+1
|
* SERVER-27244 Status usage compile-time facilities.ADAM David Alan Martin2017-06-181-2/+2
| | | | | | | | | | | | | | | | | There are numerous places in the codebase where `mongo::Status` or `mongo::StatusWith< T >` objects are returned and never checked. Many of these are innocuous, but many of them are potentially severe bugs. This change introduces facilities to permit compile-time warning of unchecked `Status` and `StatusWith` usage on clang compilers. It introduces an `ignore` function which is useful to state that a specific "ignored status" case was intentional. It not presently an error, in clang builds, to forget to check a `Status` -- this will come in a later commit. This also introduces a `transitional_ignore` function, which allows for easy continual auditing of the codebase for current "whitelisted" unchecked-status instances. All present "ignored status" cases have been marked `transitional_ignore`.
* SERVER-27975 Remove many uses of `OwnedPointerVector`ADAM David Alan Martin2017-03-101-6/+9
| | | | | This removes many of the remaining uses of the deprecated `OwnedPointerVector` type.
* SERVER-27938 Rename all OperationContext variables to opCtxMaria van Keulen2017-03-071-28/+29
| | | | | | This commit is an automated rename of all whole word instances of txn, _txn, and txnPtr to opCtx, _opCtx, and opCtxPtr, respectively in all .cpp and .h files in src/mongo.