This version of the documentation is archived and no longer supported. To upgrade your 6.0 deployment, see the MongoDB 7.0 upgrade procedures.
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:
Index Definitions to learn more about creating and managing Atlas Search indexes.
Atlas Search etapas del pipeline de agregación para saber más sobre la sintaxis, uso y resultados de la etapa pipeline
$searchMeta.
Importante
The $searchMeta aggregation pipeline stage is only available for collections hosted on MongoDB Atlas. To learn more, see Atlas Search.