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

MongoDB Search and MongoDB Vector Search Changelog

注意

Applies to Atlas-Hosted MongoDB Search and MongoDB Vector Search

This changelog applies only to MongoDB Search and MongoDB Vector Search hosted in Atlas. To find release notes for MongoDB Search and MongoDB Vector Search on self-managed Community and Enterprise editions, see the Self-Managed MongoDB Search and Vector Search Release Notes.

  • Adds preview support for $vectorSearch over arrays of embeddings and arrays of embedded documents containing vectors.
  • Introduces the storedSource option for MongoDB Vector Search indexes to store source document fields with the index and return them in $vectorSearch results using returnStoredSource.
  • Adds support for multi-select faceting to enable users to filter by multiple buckets within the same facet without recomputing counts for the other buckets in that facet.
  • Adds preview support for flat indexes in MongoDB Vector Search via the flat value for the indexingMethod option. Flat indexes provide enhanced support for multitenant workloads, delivering improved performance, recall, and resource efficiency.
  • 過剰なインデックスの作成により生じる可能性があるパフォーマンス劣化と mongot の不安定性を防止するために、MongoDB Search にインデックスフィールド制限のアラートとメトリクスを追加しました。

    アラートを軽減するには、静的マッピングへの切り替え、ポリモーフィックスキーマへの属性パターンの適用、nGram または autocomplete 使用の監査を検討してください。詳細については、「MongoDB Search メトリクスを確認」をご覧ください。

  • vectorSearch 演算子ベクトルインデックスタイプを追加して、ベクトル検索の語彙プレフィルターのプレビュー サポートを追加します。これにより、ベクトル類似度検索を実行する前に、ファジー検索、フレーズ一致、ロケーション フィルタリング、ワイルドカード パターン一致などの分析テキスト機能でドキュメントをフィルタリングできます。
  • multi でインデックス作成された string フィールドのストレージコストを削減します。

  • 高濃度フィールドをファセットする際の tokenフィールド型の問題を修正しました。

  • Supports $exists operator in the $vectorSearch pre-filter.

  • Adds support for configuring dynamic indexing with typeSets. To learn more, see Configure a typeSet.

  • MongoDB 8.0.14 以降では、returnStoredSource オプションと scoreDetails オプションを true または false に設定する必要があります。これらのオプションに null を指定するクエリは失敗します。

  • Adds support for specifying the stableTfl or boolean similarity algorithms when indexing string fields as the MongoDB Search string and autocomplete types. These algorithms are applied at query time to calculate MongoDB Search scores with the text, phrase, queryString, and autocomplete operators. To learn more, see Score Details.

  • MongoDB ベクトル検索プレフィルターで、$ne 演算子を null に設定することをサポートします。

  • 基本stringフィールドから常にハイライトを検索することで、ハイライトの読み込みを改善します。

  • 設定された経過時間のしきい値を超えるスナップショットのダウンロードをスキップします。

  • 非推奨の expirationDateフィールドではなく、新しい refreshDateフィールドを使用するようにブロブストアの認証情報処理を更新します。

  • 必要なメモリ使用量メトリクスを追加します。

  • Adds support for new token filter types keywordRepeat and removeDuplicates for custom analyzers.

  • Removes support for deprecated kp and lovins stemmers for the snowballStemming token filter type.

  • germanステマーのウムラウトの処理が変更され、ドイツ語の文字「ä」「ö」「ü」がそれぞれ「ae」「oe」「ue」に展開されるようになりました。

  • german2 ステマーは現在非推奨です。

  • MongoDB v8.1 は次をサポートします。

    • ビューで検索インデックスを作成するには、mongosh および Driver メソッドを使用します。

    • Running $search, $searchMeta, and $vectorSearch queries against standard Views.

  • ベクトル次元の制限を8192に増やします。
  • Supports customizing the sort order of null and missing values. To learn more, see Syntax.

  • 初期化エラー発生時にインデックスが削除されるのを回避します。

  • スカラー量子化機能をサポートし、ベクトル検索のメインメモリ要件を約 75% 削減します。

  • ベクトル検索のメインメモリ要件を約 97% 削減するために、 バイナリ量子化機能をサポートします。

  • int1新しい BinDatavector サブタイプを使用して ベクトルの取り込みをサポートします。

  • と サブタイプを使用した ENN int8int1検索をサポートします。

  • ディスクがいっぱいになった場合に検索ノードがクラッシュする問題を修正しました。
  • Supports synonyms in phrase queries.

  • Adds support for the matchCriteria field to the text operator.

  • 影響を受ける同義語マッピングを使用しないクエリが正常に実行できるように、同義語マッピングに失敗したインデックスの動作を変更します。

  • 検索ノードで searchAfter または searchBefore を使用するときに整合性の問題が発生するバグを修正します。

  • インデックスオブジェクトの制限に達したインデックスを、クエリ可能な陳腐化状態に移行します。

  • 埋め込みドキュメント内のトークンタイプのインデックスの作成をサポートします。

  • Supports using the mongosh command or driver helper methods to create, retrieve, edit, or delete MongoDB Search indexes on M0, M2, or M5 Atlas clusters.

  • Supports ingesting float32 and int8 vectors using the new BSON vector type.

  • Supports pre-filtering using arrays with all operators.

  • MongoDB ベクトル検索プレフィルターで範囲演算子とともに ObjectId の使用をサポートします。

  • MongoDB ベクトル検索プレフィルターのすべての演算子で UUID 値の使用をサポートします。

  • MongoDB ベクトル検索 のプレフィルターで $not 演算子の使用をサポートします。

For MongoDB Search:

  • Java 21にアップグレードします。

    Java 21 supports SIMD, which increases the amount of parallelism the CPU can do during vector comparisons.

  • Updates all indexes to support the sort option for number and date types.

  • Automatically indexes null and UUID values if you enable dynamic mappings, which might increase the size of your index.

  • Supports using the range operator and sort option with ObjectId types.

  • Supports using the sort option with boolean values.

注意

Atlas reindexes all of your existing MongoDB Search indexes on the Atlas cluster in a rolling manner. The Atlas UI displays alerts indicating the timing of your reindexing. Clusters not using separate search nodes might notice a temporary increase in disk and CPU utilization during reindexing. For clusters using separate search nodes, Atlas temporarily deploys additional nodes for free for reindexing to avoid downtime for swapping of indexes when the new index build completes.

  • Azure 上の 検索ノード を、開発と本番環境の配置の両方で通常使用できるようにします。

  • マルチリージョン および マルチクラウド・ クラスターの 検索ノード のサポートをプレビュー機能として導入します。

  • MongoDBドライバー を使用して、無料階層(M0 )および共有階層(M2 と )でのインデックス作成をサポートします。M5

  • Introduces exact flag in $vectorSearch to perform ENN search for small-scale, multi-tenant, or recall benchmarking use cases. To learn more, see Run Vector Search Queries.

  • Introduces MongoDB Search Query Templates in the Search Tester, which makes querying easier with pre-written $search queries including conditional clauses like must and should, autocomplete for search-as-you-type experiences, faceting, and more. To learn more, see Define Your Query.

  • MongoDB Search APIエンドポイントの変更を導入します。詳しくは、312024 リリースのAPI変更ログ を参照してください。

  • MongoDB Search で、returnStoredSource の使用時に一部のドキュメントの _idフィールドが結果に含まれなかった問題を修正しました。
  • 特定の mongod 構成変更後にMongoDB Search が誤った最初の同期をトリガーする問題を修正します。

  • 定義バージョンが欠落しているインデックスを再構築します。

  • スコアが関連付けられている場合にMongoDB Search が searchAfter または searchBefore クエリの結果を生成しない問題を修正しました。

  • Adds the ability to query and sort by null and UUID values.

  • Updates MongoDB Vector Search queries to run concurrently by default on search nodes.
  • Re-enables sort pruning.

  • Includes synonym queries in explain().

  • ベクトル次元の制限を4096に増やします。

  • Fixes an issue where sharded Atlas clusters running MongoDB v7.2.0 would return an error for $searchMeta stages that contain the facet collector.
  • Supports retrieving $search results sequentially after or before a reference point, which you can specify using a token generated by the $meta keyword searchSequenceToken. To learn more, see Paginate the Results.
  • Supports using equals, in, and range operators to perform exact matching and filtering on BSON strings indexed as the MongoDB Search token type.

注意

専用のMongoDB ベクトル検索インデックス定義を使用して、新しいMongoDB Vector ベクトル検索エクスペリエンスをロールアウトするプロセス中です。数日以内、または次のメンテナンスウィンドウ後にプロジェクトで使用できます。

Introduces $vectorSearch to perform semantic search on data in your Atlas cluster running MongoDB 7.0.2.

注意

MongoDB Vector Search is available as a preview feature for evaluation and user feedback gathering. It's not recommended for production deployments as the feature and the corresponding documentation might change at any time during the Preview period.

To learn more, see MongoDB Vector Search Overview.

  • Supports custom analyzer configuration in the Atlas UI Visual Editor.

  • Supports token type configuration in the Atlas UI Visual Editor.

  • システムのアップグレードを実行します。 インデックスとクエリのパフォーマンスがいくつか変更されることがあります。
  • Supports highlighting for fields if the fields are indexed under a parent field of type document for query predicates specified inside the embeddedDocument operator.

  • Starts initial sync automatically in certain scenarios with sharding.

  • Fixes a bug that caused changes to token field mapping to be ignored.

  • Adds the sort option, which supports sorting in ascending or descending order on fields that you define in your MongoDB Search index for sorting.

    注意

    MongoDB Search sort option is available in sharded clusters only if you run MongoDB v6.0+.

  • Limits the knnBeta operator as a top-level operator.

  • Introduces the ability to perform text, wildcard, regular expression, fuzzy, and range searches on string fields by using the queryString operator.

  • Improves performance of $search with $limit.

  • M10 以上のクラスターでMongoDB 6.0.8 以降を実行中Atlas クラスターの場合、mongoshNodeJS ドライバーからMongoDB Search インデックスを作成および管理する能力を導入します。

    注意

    This release does not allow using the mongosh command or driver helper methods to create, retrieve, edit, or delete MongoDB Search indexes on M0, M2, or M5 Atlas clusters.

  • Provides preview of vector search to store, index, and query vectors using MongoDB Search.
  • M10 以上のクラスターのクラウドバックアップ スナップショットからMongoDB Search インデックスを復元するためのサポートを追加します。
  • M10 以上の Atlas クラスターの Atlas UIで、クエリ内の検索タームの追跡と、追跡された検索タームのクエリ分析をサポートします。
  • Adds the in operator, which performs a search for an array of values and returns documents where the value of the field equals any value in the specified array.

  • Changes the operator option of the facet collector to be optional. facet queries that you specify without an operator run over all indexed documents.

  • Introduces the ability to edit your MongoDB Search query in the Search Tester.
  • Supports the embeddedDocuments type in the MongoDB Search visual editor configuration mode in the Atlas UI.
  • Supports statically indexing arrays of strings as the autocomplete type and querying the indexed field using the autocomplete operator.

  • Supports dynamically and statically indexing numbers in arrays and querying the indexed numbers in arrays using the range operator only.

  • Supports dynamically and statically indexing dates in arrays and querying the indexed dates in arrays using the range operator only.

  • Supports dynamically and statically indexing objectIds and arrays of objectIds and querying the indexed objectIds using the equals operator.

  • Supports dynamically and statically indexing booleans and arrays of booleans and querying the booleans using the equals operator.

  • MongoDB Search へのアップグレードは以下を含みます。

    • クエリの改善

    • 改善点の強調

      • パス セレクターが長いスニペットを切り捨てて短いスニペットを表示するようにし、これにより、パスが長い場合にクエリが失敗する原因が修正されます。
    • Explain output for some queries might look different. If you use explain, verify that the changes don't break logic in your environment.

    前述の変更リストに加えて、インデックスとクエリのパフォーマンスがいくつか変更される場合があります。

  • Introduces moreLikeThis operator to retrieve documents similar to one or more input documents.

  • クエリが多数のドキュメント(5,000 以上)に一致する場合に、保存済みソース クエリのパフォーマンスを向上させるために、内部バッチを最適化します。
  • Atlas UIまたはAPIを使用してMongoDB SearchProject Search Index Editor インデックスを作成、表示、編集、削除するための新しい ロールを導入します。

  • 新しいインデックス定義が無効な場合は、最後の有効なインデックスを使用してクエリを処理します。

  • Removes Lucene's default clause limit of 1024 for BooleanQuery on dedicated clusters.

    注意

    We are extending support for faceting on numeric and date fields using the number and date types from August to September 2022. You must migrate to the numberFacet and dateFacet types in all index definitions for faceting on numeric and date fields, respectively.

  • Adds the numberFacet and dateFacet data types for running facet queries on number and date fields respectively.

    注意

    We are extending support for faceting on numeric and date fields using the number and date types from August to September 2022. You must migrate to the numberFacet and dateFacet types in all index definitions for faceting on numeric and date fields, respectively.

  • Adds reverse token filter, which reverses each string token.

Autocomplete improvements in this release:

  • Adds support for analyzers in the index definition for autocomplete.

  • Boosts exact matches in autocomplete operator.

  • Adds rightEdgeGram tokenization strategy to create edgeGram-like tokens starting at the right side of words (instead of the left side).

このリリースのバグ修正:

  • objectIdの強調表示エラーを修正しました。
  • 特定のレプリケーション エラーが発生した後も、インデックスが リカバリ 状態に入り、使用可能なままであることを許可します。
  • Adds support for synonyms, which can be defined in a source collection and mapped to search indexes via the Atlas API.
  • Adds stopword token filter for removing tokens that match the specified stop words.
  • Supports explain for $search queries.
  • Fixes an issue with highlighting raising errors when combined with ObjectID equality operators.
  • 最初の同期のインデックス作成のパフォーマンスを向上させます。
  • Adds maxNumPassages and maxCharsToExamine for highlight.
  • 定常状態のインデックス作成のパフォーマンスを向上させます。
  • 変更されたインデックス定義を再構築する際のダウンタイム要件を排除します。
  • ワイルドカード パスのサポートを追加します。
  • Adds a new index option to exclude the norms field, allowing a search index to ignore field length when scoring search results.

  • Adds the tokenOrder option to the autocomplete operator, supporting unordered terms in search queries.

  • スタック トレースやその他の Java 固有のメッセージを排除するなど、クエリのデバッグを容易にするためにエラー メッセージを改善します。

  • 次のような地理空間クエリのサポートを追加します。

    • A new geo data type for indexing geographic point and shape coordinates.

    • Two new operators, geoWithin and geoShape, to support queries on geospatial data, such as points and polygons.

  • 次のような入力しながら検索する機能をサポートするために、オートコンプリート機能を追加します。

    • フィールド値のアナライザに依存しない発音区別符号のフォールディング。

    • ブーストや定数などのスコアリング オプション。

    • オートコンプリートと他の $search 演算子を組み合わせた複合クエリ。

    • 分析されたテキストからの n グラム/string とエッジ n グラム。

注意

4 月 2020 より前に公開されたMongoDB Search のリリースノートを確認するには、Atlas Changelog を参照してください。