On this page本页内容
For details on specific operator, including syntax and examples, click on the specific operator to go to its reference page.有关特定运算符的详细信息,包括语法和示例,请单击特定运算符以转到其参考页。
$geoIntersects | $geoIntersects .2dsphere 索引支持$geoIntersects 。
|
$geoWithin | $geoWithin .2dsphere 和2d 索引支持$geoin 。
|
$near | $near .2dsphere 和2d 索引支持$near 。
|
$nearSphere | $nearSphere .2dsphere 和2d 索引支持$nearSphere 。
|
$box | $geoWithin queries. $geoWithin 查询指定使用传统坐标对的矩形框。$box .$box 。
|
$center | $geoWithin queries when using planar geometry. $geoWithin 查询。$center .$center 。
|
$centerSphere | $geoWithin queries when using spherical geometry. $geoWithin 查询指定使用传统坐标对或GeoJSON格式的圆。$centerSphere .2dsphere 和2d 索引支持$centerSphere 。
|
$geometry | |
$maxDistance | $near and $nearSphere queries. $near 和$nearSphere 查询结果的最大距离。$maxDistance .2dsphere 和2d 索引支持$maxDistance 。
|
$minDistance | $near and $nearSphere queries. $near 和$nearSphere 查询结果的最小距离。2dsphere index only.2dsphere 索引。
|
$polygon | $geoWithin queries. $geoWithin 查询使用传统坐标对的多边形。$center .2d 索引支持$center 。
|
$uniqueDocs | $geoWithin and $near queries to ensure that even if a document matches the query multiple times, the query returns the document once.$geoWithin 和$near 查询,以确保即使文档多次匹配查询,查询也只返回一次文档。 |