$uniqueDocs

On this page本页内容

Definition定义

$uniqueDocs

Deprecated since version 2.6:自版本2.6以来已弃用:Geospatial queries no longer return duplicate results. 地理空间查询不再返回重复的结果。The $uniqueDocs operator has no impact on results.$uniqueDocs运算符对结果没有影响。

Returns a document only once for a geospatial query even if the document matches the query multiple times.对于地理空间查询,即使文档多次匹配查询,也只返回一次文档。