--在t_01集合的”name”上创建text索引db.t_01.createIndex( { “name” : “text”})--使用全本搜索db.t_01.find( {$text: {$search...],[3,6],[6,1],[0,0] ]]} } } } )
$geoWithin 选择具有完全存在于指定形状内的地理空间数据的文档,2dsphere和2d索引都支持$geoWithin。...2dsphere和2d索引支持$near。...-73.9667,40.78]},$minDistance:1000,$maxDistance:5000} } } )
$nearSphere 返回接近球面点上的地理空间对象,2dsphere和2d索引支持...描述 举例
$all 匹配包含查询中指定的所有元素的数组 --查询t_01集合的name字段同时包含”deng”,”groot”,”lily”的文档db.t_01.find( {“name”:{$all