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

MongoDB Search および MongoDB ベクトル検索 の変更ログ

注意

Atlas ホストの MongoDB Search と MongoDB ベクトル検索に適用されます

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 Native Reranking through the $rerank aggregation stage for reordering input documents by using Voyage AI's reranking models.

  • MongoDB ベクトル検索インデックスでのネストされた埋め込みのサポートを一般公開します。

  • Increases the maximum number of buckets to 10000 for number and date facets.
  • Increases the maximum number of buckets to 10000 for string facets.
  • 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.
  • MongoDB ベクトル検索において、indexingMethod オプションの flat 値を使用して フラット インデックス のプレビューサポートを追加します。フラット インデックスはマルチテナント ワークロードのサポートを強化し、パフォーマンス、リコール、リソース効率を向上させます。

  • concurrent が true に設定されている場合、インデックスパーティション全体でクエリを同時に実行します。

  • 過剰なインデックスの作成により生じる可能性があるパフォーマンス劣化と 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.

  • Starting with MongoDB 8.0.14, the returnStoredSource and scoreDetails options must be set to true or false. Queries that specify null for these options will fail.

  • 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.

  • Supports setting the $ne operator to null in MongoDB Vector Search pre-filters.

  • 基本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 supports:

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

    • 標準ビューに対して $search、$searchMeta、$vectorSearch クエリを実行します。

  • ベクトル次元の制限を8192に増やします。
  • null 値と欠損値のソート順序のカスタマイズをサポートしています。詳しくは、「構文。」を参照してください。

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

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

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

  • Supports ingesting int1 vectors using the new BinData vector subtype.

  • Supports ENN search using int8 and int1 subtypes.

  • ディスクがいっぱいになった場合に検索ノードがクラッシュする問題を修正しました。
  • 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 値の使用をサポートします。

  • Supports using the $not operator in MongoDB Vector Search pre-filters.

MongoDB Search の場合:

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

    Java 21はSIMDをサポートしており、これによりベクトル比較中にCPUが実行できる並列処理の量を増やすことができます。

  • 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 は、ローリング方式で Atlas クラスター上の既存の MongoDB Search インデックスをすべて再インデックスします。Atlas UI には、再インデックスのタイミングを示すアラートが表示されます。個別の検索ノードを使用していないクラスターでは、再インデックス中にディスクと CPU の使用率が一時的に増加する可能性があります。個別の検索ノードを使用しているクラスターの場合、Atlas は、新しいインデックス構築が完了したときのインデックスのスワップによるダウンタイムを回避するために、再インデックスのために一時的に追加ノードを無料で配置します。

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

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

  • ObjectId タイプによるデータの 事前フィルター をサポートします。
  • 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.

  • Introduces changes to the MongoDB Search API endpoints. To learn more, see API Changelog for May 31 2024 Release.

  • 大きい stringFacet の値を切り詰めます。

  • Supports pre-filtering data by date fields indexed as the filter type.

  • MongoDB Search で、returnStoredSource の使用時に一部のドキュメントの _idフィールドが結果に含まれなかった問題を修正しました。
  • Fixes an issue where MongoDB Search triggered spurious initial syncs after certain mongod configuration changes.

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

  • スコアが関連付けられている場合に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.
  • 参照点の前後で、$search 結果を順序に取得することをサポートします。これは、$meta キーワード searchSequenceToken によって生成されたトークンを使用して指定できます。詳細については、「結果をページ分けする」を参照してください。
  • 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 ベクトル検索は、評価とユーザー フィードバック収集のためのプレビュー機能として利用できます。プレビュー期間中は、機能および関連するドキュメントがいつでも変更される可能性があるため、本番環境での配置はお勧めしません。

To learn more, see MongoDB Vector Search Overview.

  • Atlas UI ビジュアルエディター内での カスタムアナライザ の構成をサポートします。

  • 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.

  • $search とともに $limit のパフォーマンスを向上させます。

  • For Atlas clusters running MongoDB 6.0.8 or later on M10 or higher clusters, introduces ability to create and manage MongoDB Search indexes from mongosh and NodeJS driver.

    注意

    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.

  • autocomplete 演算子での完全一致のスコアを高めます。

  • 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 を参照してください。