Database Manual / Reference / Query Language / Aggregation Stages

$searchMeta (aggregation stage)(聚合阶段)

searchMeta returns different types of metadata result documents for MongoDB Search queries on the field or fields in an Atlas collection. The fields must be covered by a MongoDB Search index. See:searchMeta为Atlas集合中的一个或多个字段上的MongoDB搜索查询返回不同类型的元数据结果文档。这些字段必须被MongoDB搜索索引覆盖。请参阅:

Important

The $searchMeta aggregation pipeline stage is only available for collections hosted on MongoDB Atlas. To learn more, see MongoDB Search.$searchMeta聚合管道阶段仅适用于MongoDB Atlas上托管的集合。要了解更多信息,请参阅MongoDB搜索