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查询,以确保即使文档多次匹配查询,查询也只返回一次文档。 |