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搜索索引覆盖。请参阅:
Index Definitions索引定义to learn more about creating and managing MongoDB Search indexes.了解有关创建和管理MongoDB搜索索引的更多信息。MongoDB Search Aggregation Pipeline StagesMongoDB搜索聚合管道阶段to learn more about the了解更多关于$searchMetapipeline stage syntax, usage, and results.$searchMeta管道阶段语法、用法和结果的信息。
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搜索。