$search 聚合管道阶段对 Atlas 集合中的一个或多个字段执行全文搜索。这些字段必须由 Atlas Search 索引覆盖。 请参阅:
索引定义,了解有关创建和管理 Atlas Search 索引的更多信息。
Atlas Search Aggregation Pipeline Stages to learn more about the
$searchpipeline stage syntax and usage.$search Operators to learn more about the
$searchaggregation pipeline stage operators.