0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00
Commit Graph

54 Commits

Author SHA1 Message Date
Mathias Stearn
0fe45dce90 Parse $nearSphere queries SERVER-1342 2010-09-02 20:12:37 -04:00
Mathias Stearn
73dc0ce638 $nearSphere bugfixes SERVER-1342 2010-09-02 20:12:37 -04:00
Mathias Stearn
5b6cca5c4a Proper ordering of operations in phase 1 of $near SERVER-1342 2010-09-02 20:12:37 -04:00
Mathias Stearn
dc7a33093c $nearSphere WIP SERVER-1342 2010-09-02 20:12:37 -04:00
Mathias Stearn
0acaa65fc7 probably faster to cache farthest() SERVER-1342 2010-09-02 20:12:37 -04:00
Mathias Stearn
c6a123f3e8 optimization SERVER-1342 2010-09-02 20:12:37 -04:00
Mathias Stearn
0b0fbe7eba $nearSphere checkpoint SERVER-1342 2010-09-02 20:12:37 -04:00
Mathias Stearn
fd4de41e4f _start and _n are the same thing SERVER-1342 2010-09-02 20:12:37 -04:00
Mathias Stearn
c59b38288f odd $near bug 2010-08-26 18:26:47 -04:00
Mathias Stearn
5fd62e8edb Working $centerSphere 2010-08-24 14:28:09 -04:00
Mathias Stearn
4e234c4959 $centerSphere test and fixes to make it pass 2010-08-24 14:06:47 -04:00
Mathias Stearn
54572e15b6 error codes 2010-08-24 14:06:47 -04:00
Mathias Stearn
e5ef00a515 rad/deg correctness 2010-08-24 14:06:47 -04:00
Mathias Stearn
7798dfdc37 deg2rad and rad2deg helpers 2010-08-24 14:06:47 -04:00
Mathias Stearn
b1ce5fa9b8 Split x and y scanDistance for $center query 2010-08-24 14:06:47 -04:00
Mathias Stearn
7fcab1a137 $centerSphere WIP 2010-08-24 14:06:47 -04:00
Mathias Stearn
8fb5e7c70d Going back to [X,Y] order to match GeoJSON spec
Revert "Swap x and y for points"

This reverts commit 0e49d544eb.
2010-08-24 14:01:04 -04:00
Mathias Stearn
0e49d544eb Swap x and y for points 2010-08-19 17:59:16 -04:00
Alberto Lerner
7a7cc4adfa SERVER-1452 StringData-ing up, c_str()-ing down 2010-08-18 18:12:31 -04:00
Mathias Stearn
cb001794d4 these should be const 2010-08-17 18:27:30 -04:00
Aaron
701dc65282 SERVER-1528 account for expensive skipping operations in nscanned 2010-08-03 20:09:16 -07:00
Mathias Stearn
684cf1c0b1 $center optimization: don't check box if not in circle 2010-07-28 23:29:57 -04:00
Mathias Stearn
819e2b0827 Bound worst case overhead in $center queries 2010-07-28 23:29:57 -04:00
Mathias Stearn
5c0fe6cf44 abs -> fabs 2010-07-28 23:29:57 -04:00
Mathias Stearn
f27bc16a32 Better $center 2010-07-28 23:29:57 -04:00
Mathias Stearn
ee257b9648 PREFIXDEBUG helper 2010-07-28 23:29:57 -04:00
Mathias Stearn
747c54b804 Implicit conversions suck 2010-07-28 23:29:57 -04:00
Eliot Horowitz
6e3522cd56 limit on haystack 2010-07-26 22:21:17 -04:00
Eliot Horowitz
eb194af185 Cursor::supportYields SERVER-1453 2010-07-24 21:58:39 -04:00
Eliot Horowitz
39b8b842a7 geo haystack SERVER-1315 2010-07-23 10:57:50 -04:00
Eliot Horowitz
0b72ae6d71 earth radius constants and simple test SERVER-1342 2010-07-19 10:30:54 -04:00
Eliot Horowitz
7f9bd44d4b firstcut of geo quandrant search working SERVER-1315 2010-07-18 11:14:57 -04:00
Eliot Horowitz
72f2eb24d5 change LazyString to toString rather than (string) 2010-07-17 22:11:21 -04:00
Alberto Lerner
daf8c0fbd0 Revert "SERVER-1270 Prep for hooking StringData"
This reverts commit b7c9a9fc57.
2010-07-17 16:07:38 -04:00
Alberto Lerner
b7c9a9fc57 SERVER-1270 Prep for hooking StringData 2010-07-17 14:33:17 -04:00
Richard Kreuter
0b89d09b4f Use FP error term in a geo bounds check. SERVER-994 strikes back (on x86). 2010-07-15 14:55:20 -04:00
Richard Kreuter
27e684c097 Reverse when the initial btree scan finds no geo points. SERVER-1283 2010-07-12 16:09:20 -04:00
Richard Kreuter
0545efcdb2 Fix an edge case in geoNear with maxDistance. 2010-07-08 09:59:15 -04:00
Mathias Stearn
13c6875815 temporarily Revert "git rid of "operator string""
This reverts commit 95fa51a1df.
2010-07-07 01:22:33 -04:00
Mathias Stearn
95fa51a1df git rid of "operator string" 2010-07-07 00:30:17 -04:00
Eliot Horowitz
b0422a3a65 fix Box::mid for tiny boxes SERVER-1365 2010-07-06 11:50:59 -04:00
Mathias Stearn
3908a13a6e M_PI is also a GNU extension 2010-07-04 18:25:02 -04:00
Mathias Stearn
090d0c7736 sincos() is a GNU extension. switching to separate sin() cos() calls 2010-07-04 17:55:45 -04:00
Mathias Stearn
2d37109d0c Spherical distance functions SERVER-1342 2010-07-04 13:36:36 -04:00
Richard Kreuter
224ca4aecd Do one more box of point checks in GeoCircleBrowse. SERVER-848, SERVER-1238 2010-07-01 18:02:25 -04:00
Eliot Horowitz
56b15870d6 error code fixing 2010-06-29 13:44:12 -04:00
Eliot Horowitz
ba6c2e2a80 Merge branch 'master' of github.com:mongodb/mongo 2010-06-29 11:06:39 -04:00
dwight
ebdee89db0 compile vs2010 2010-06-28 18:28:24 -04:00
Eliot Horowitz
9c97a3fa80 some quandrant search cleaning SERVER-1315 2010-06-28 17:27:13 -04:00
Eliot Horowitz
d69e7be045 win64 2010-06-28 16:52:45 -04:00