AI エージェント向け: ドキュメントインデックスは https://www.mongodb.com/ja-jp/docs/llms.txt で利用できます。すべてのページの markdown バージョンは、いずれかの URL パスに .md を追加することで利用できます。
Docs Menu

FAQ: MongoDB Search

いいえ、クラスターでMongoDB Search を有効にしても、追加料金や料金は発生しません。ただし、インデックス付きコレクションのサイズやインデックス定義などの要因によっては、クラスターでのリソース使用率が増加する可能性があります。MongoDB Searchリソースの使用率を管理および制御するには、専用の検索ノードを配置します。これはノードごとの追加コストになります。本番環境ではこれが推奨されています。

はい。次のMongoDB Search 演算子は、部分的な文字列を用いたクエリをサポートします。

はい。 カスタムアナライザ で ワイルドカード 演算子と 正規表現 演算子を使用して、大文字と小文字を区別しない検索を実行できます。次のトークナイザとトークン フィルターを使用してカスタムアナライザを定義し、ワイルドカードで大文字と小文字を区別しない検索を実行できます。

はい。MongoDB Searchの storedSource オプションは元の値を保存します。returnStoredSource オプションを使用して返された結果に対して $search ステージの後に大文字と小文字を区別しない操作を実行するには、コレクションを作成するときにコレクションのデフォルトの照合強度を 1 または 2 に設定し、別の照合を指定しないでください。使用できません。

If you add shards to a collection with an existing MongoDB Search index, an initial sync occurs on the newly added shards for that MongoDB Search index. Each shard's MongoDB Search index contains only the documents from the collection that exists on that shard. To learn more, see Shard a Global Collection.

警告:MongoDB Search インデックスがすでに存在するコレクションをシャーディングする場合、インデックスがシャードで構築されている間に短時間、不完全な検索結果が発生する可能性があります。また、MongoDB Search インデックスを含むすでにシャーディングされたコレクションにシャードを追加する場合、追加されたシャードで最初の同期プロセスが完了するまで、そのコレクションに対する検索クエリでは不完全な結果が返される可能性があります。詳しくは、「最初の同期プロセス」を参照してください。

いいえ、シャードキーを使用して、特定のシャードまたはシャードのサブセットに対してMongoDB Search クエリを実行することはできません。シャーディングされたクラスター環境では、 MongoDB Search クエリはすべてのシャードで実行されるスキャッター ギャザー クエリになります。

However, if you use zones to distribute a sharded collection over a subset of the shards in the cluster, MongoDB Search routes the query to the zone that contains the shards for the collection that you are querying and runs your $search queries on just the shards where the collection is located.

By default, queries run on the primary node. You can configure your read preference or use replica set tags to specify read preference. To learn more, see What is MongoDB Search?.

はい、次の手順を実行してインデックスを複製できます。

1

MongoDB 検索するページには、Search & Vector Search オプションまたは Data Explorer から移動できます。

  1. まだ表示されていない場合は、プロジェクトを含む組織をナビゲーション バーの Organizations メニューで選択します。

  2. まだ表示されていない場合は、ナビゲーション バーの Projects メニューからプロジェクトを選択します。

  3. サイドバーで、 Database見出しの下のSearch & Vector Searchをクリックします。

    • If you have no clusters, click Create cluster to create one. To learn more, see Create an Atlas Infinite or Atlas Core Cluster.

    • プロジェクトに複数のクラスターがある場合は、Select cluster ドロップダウンから使用するクラスターを選択し、[Go to Search] をクリックします。

    The Search & Vector Search page displays.

2
  1. コピーするインデックスで、クリックしますAction列のドキュメント

  2. [Edit With JSON Editor] をクリックします。

3
4

MongoDB Search JSON Editor を使用して新しいインデックスを作成します。コピーしたインデックスを貼り付け、Create Search Index をクリックします。MongoDB Searchインデックスを作成した後、 MongoDB Search JSON EditorまたはMongoDB Search Visual Index Builder で必要な編集を直接行うことができます。

注意

進行中の作業

We are currently working on a solution for this that doesn't require the steps mentioned above. If you'd like to vote for this feature, or submit your feedback, use the MongoDB Feedback.

No, MongoDB Search uses memory for the JVM heap metrics, which stores the autocomplete and text tokens of your search index. Similar to other database engines, MongoDB Search stores the majority of the index files on the disk, which benefits from the underlying OS page cache.

  • データベース名とコレクション名が正しいことを入力したことを確認してください。 存在しないデータベース名またはコレクション名を入力すると、Atlas UI はインデックスを一時的に構築し、その後すぐに削除します。

  • If you use the $out aggregation stage to overwrite your collection, you must delete and recreate your search index, as search indexes aren't copied to destination collections. To learn more, see $out Index Constraints.

  • MongoDB Search を使用するコレクションを再シャーディングすると、この操作既存の検索インデックスが削除されます。シャーディング操作が完了したら、コレクションの検索インデックスを手動で再構築する必要があります。

For M10+ dedicated clusters, Atlas restores MongoDB Search index definitions from a Cloud Backup snapshot. Atlas doesn't restore search index data, so the mongot processes perform initial syncs for all restored search index definitions. If you've defined large search indexes on your cluster, you might experience delays during snapshot restorations.

Yes, you can use CSFLE encrypting clients to run MongoDB Search queries against non-encrypted data in MongoDB version 6.0 and later.

No, you can't query CSFLE encrypted data using MongoDB Search.

No, Queryable Encryption is incompatible with MongoDB Search.

いいえ、時系列コレクションではMongoDB Search を使用できません。

Yes, use can request new functionality or upvote an existing request using the MongoDB Feedback.

Yes, MongoDB Support can access your MongoDB Search infrastructure on both dedicated and co-located nodes, as well as download mongot logs from these nodes. However, you can block access for MongoDB Support at the organization level and then grant access to MongoDB Support for 24 hours if needed. To learn more, see Configure MongoDB Support Access.

Atlas はサーチ ノード ログをアップロードし、診断と事故対処のためにダウンロードできるようにします。ホスト上では、mongot はログがディスク スペース使用率の 2% に達すると削除します。

クラスターから検索ノードを除くと、ログと診断データは引き続き利用できません。

No, however, you can use $lookup and $unionWith to run a search query across multiple collections. To learn more, see How to Run MongoDB Search Queries Across Multiple Collections.

このページを評価

項目一覧