On this page本页内容
Note
For details on specific operator, including syntax and examples, click on the specific operator to go to its reference page.有关特定运算符的详细信息,包括语法和示例,请单击特定运算符以转到其参考页。
$geoIntersects |
$geoIntersects .$geoIntersects 。 |
$geoWithin |
$geoWithin .$geoWithin 。 |
$near |
$near .$near 。 |
$nearSphere |
$nearSphere .$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 .$centerSphere 。 |
$geometry |
|
$maxDistance |
$near and $nearSphere queries. $near 和$nearSphere 查询的结果。$maxDistance .$maxDistance 。 |
$minDistance |
$near and $nearSphere queries. $near 和$nearSphere 查询结果的最小距离。2dsphere index only.2dsphere 索引。 |
$polygon |
$geoWithin queries. $geoWithin 查询中使用传统坐标对的多边形。$center .$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 查询,以确保即使文档多次匹配查询,查询也会返回一次文档。 |