Docs 主页 → 开发应用程序 → MongoDB Manual
$searchMeta(聚合)
searchMeta
returns different types of metadata result documents for Atlas Search queries on the field or fields in an Atlas collection. The fields must be covered by an Atlas Search index. See:
索引定义,了解有关创建和管理 Atlas Search 索引的更多信息。
Atlas Search Aggregation Pipeline Stages to learn more about the
$searchMeta
pipeline stage syntax, usage, and results.
重要
The $searchMeta
aggregation pipeline stage is only available for collections hosted on MongoDB Atlas cluster tiers running MongoDB version 4.4.9 or later. To learn more, see Atlas Search.