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:
Definições de índice para saber mais sobre como criar e gerenciar índices de pesquisa do MongoDB Search.
MongoDB Search Aggregation Pipeline Stages to learn more about the
$searchMetapipeline stage syntax, usage, and results.
Importante
As $searchMeta fases do pipeline de agregação estão disponíveis para collections hospedadas em:
MongoDB Enterprise deployments running version 8.2 or later with the Kubernetes Operator.
Implantações do MongoDB Community executando a versão 8.2 ou posterior.
To learn more, see MongoDB Search.