Docs 菜单
Docs 主页
/
数据库手册
/ / /

$searchMeta(聚合)

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:

  • Index Definitions to learn more about creating and managing MongoDB Search indexes.

  • MongoDB 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. To learn more, see MongoDB Search.

后退

$search