$search
aggregation pipeline stage performs a full-text search of the field or fields in an Atlas collection. The fields must be covered by an Atlas Search index.
For example, you can use $search
to perform the following types of operations:
Searches to match text fields with various patterns.
Fuzzy matches to find terms with spelling variations.
Compound queries to combine multiple search conditions.
Relevance scoring to rank results.
Return snippets of matching text.
Vector searches to find documents using vector similarities.
For more details, see:
Atlas Search インデックスの作成と管理の詳細については、 「 インデックス定義 」を参照してください。
$search
パイプライン ステージの構文と使用方法の詳細については、 「 Atlas Search 集計パイプライン ステージ 」を参照してください。$search
集計パイプライン ステージ演算子の詳細については、「$search 演算子」を参照してください。