diff options
author | Sara Golemon <sara.golemon@mongodb.com> | 2019-02-20 13:47:50 +0000 |
---|---|---|
committer | Sara Golemon <sara.golemon@mongodb.com> | 2019-02-22 23:57:25 +0000 |
commit | be68e9b78da63075c9b82304ea27ae4725fe894c (patch) | |
tree | aac25ab5b3d1e460ec9966627d66860b63ebda15 /src/mongo/db/exec/geo_near.cpp | |
parent | e52798e022f0c46624e6ddebbbc17200d7cc6a80 (diff) | |
download | mongo-be68e9b78da63075c9b82304ea27ae4725fe894c.tar.gz |
SERVER-39537 Migrate expression_index_knobs to IDL
Diffstat (limited to 'src/mongo/db/exec/geo_near.cpp')
-rw-r--r-- | src/mongo/db/exec/geo_near.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/exec/geo_near.cpp b/src/mongo/db/exec/geo_near.cpp index 168552ef471..72ffe359813 100644 --- a/src/mongo/db/exec/geo_near.cpp +++ b/src/mongo/db/exec/geo_near.cpp @@ -48,7 +48,7 @@ #include "mongo/db/index/expression_params.h" #include "mongo/db/matcher/expression.h" #include "mongo/db/query/expression_index.h" -#include "mongo/db/query/expression_index_knobs.h" +#include "mongo/db/query/expression_index_knobs_gen.h" #include "mongo/stdx/memory.h" #include "mongo/util/log.h" @@ -695,7 +695,7 @@ StatusWith<NearStage::CoveredInterval*> // const int twoDFieldPosition = 0; std::vector<GeoHash> unorderedCovering = ExpressionMapping::get2dCovering( - *coverRegion, indexDescriptor()->infoObj(), internalGeoNearQuery2DMaxCoveringCells.load()); + *coverRegion, indexDescriptor()->infoObj(), gInternalGeoNearQuery2DMaxCoveringCells.load()); // Make sure the same index key isn't visited twice R2CellUnion diffUnion; @@ -846,7 +846,7 @@ public: _currentLevel(0) { // cellId.AppendVertexNeighbors(level, output) requires level < finest, // so we use the minimum of max_level - 1 and the user specified finest - int level = std::min(S2::kMaxCellLevel - 1, internalQueryS2GeoFinestLevel.load()); + int level = std::min(S2::kMaxCellLevel - 1, gInternalQueryS2GeoFinestLevel.load()); _currentLevel = std::max(0, level); } |