注意
适用于 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.
2026 年版本发布
2026 年 9 月 30 日发布
- Supports faceting on only the matching children of an embeddedDocuments array. To learn more, see Facet on Matching Children of an Embedded Documents Array.
2026 年 9 月 29 日发布
- Adds support for computing min, max, sum, avg, first and last for facet buckets and grouping results across multiple fields with nested facets.
2026 年 7 月 29 日发布
- Adds doubleMetaphone token filter.
2026 年 7 月 06 日发布
Supports sorted index to pre-sort documents in ascending or descending order at index-time instead of sorting at query-time.
Adds englishMinimalStemming token filter.
2026 年 6 月 30 日发布
Adds Native Reranking through the
$rerankaggregation stage for reordering input documents by using Voyage AI's reranking models.使 MongoDB 向量搜索索引中的嵌套嵌入支持全面可用。
2026 年 6 月 24 日发布
25 5 月2026发布
- Increases the maximum number of buckets to 10000 for string facets.
2026 年 4 月 30 日发布
- Adds preview support for
$vectorSearchover arrays of embeddings and arrays of embedded documents containing vectors.
2026 年 4 月 27 日发布
- Introduces the storedSource option for MongoDB Vector Search indexes to store source document fields with the index and return them in
$vectorSearchresults usingreturnStoredSource.
2026 年 4 月 14 日发布
- 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.
2026 年 4 月 07 日发布
2026 年 1 月 29 日发布
添加新的 MongoDB Search 警报和指标,用于索引字段限制,以防止性能下降和
mongot不稳定,过度索引可能导致:要缓解警报,请考虑切换到静态映射、应用多态模式的属性模式,并审核
nGram或autocomplete的使用情况。要了解更多信息,请参阅查看 MongoDB Search 指标。
2025 年版本发布
2025 年 11 月 24 日发布
- 通过添加 vectorSearch 操作符 和 向量索引类型,增加对向量搜索的词汇预过滤器的预览支持。这使您可以在执行向量相似搜索之前,根据分析的文本功能(例如模糊搜索、短语匹配、位置过滤器、通配符模式匹配等)过滤文档。
2025 年 11 月 06 日发布
对使用
multi进行索引的 string 字段进行去重的存储费用。修复了针对高关联基数字段时的
token字段类型问题。Supports
$existsoperator in the$vectorSearchpre-filter.
2025 年 10 月21 日发布
Supports querying, filtering, and retrieving objects within arrays as individual documents using
returnScope.Adds hasRoot operator for querying root document fields when using
returnScope.Adds hasAncestor operator for querying higher-level or equal-level fields when using
returnScope.Supports storing nested fields in array of objects using storedSource for retrieval with returnStoredSource for queries using any operator.
2025 年 9 月 25 日发布
Adds support for configuring dynamic indexing with
typeSets. To learn more, see Configure a typeSet.Starting with MongoDB 8.0.14, the
returnStoredSourceandscoreDetailsoptions must be set totrueorfalse. Queries that specifynullfor these options will fail.Adds support for specifying the
stableTflorbooleansimilarity algorithms when indexingstringfields 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
$neoperator tonullin MongoDB Vector Search pre-filters.
2025 年 9 月 22 日发布
通过始终从基本string字段检索突出显示来改进突出显示加载。
跳过下载超过配置期限阈值的快照。
更新 blobstore 凭证处理以使用新的
refreshDate字段,而不是已弃用的expirationDate字段。添加所需的内存使用量指标。
2025 年 7 月 10 日发布
Adds support for new token filter types
keywordRepeatandremoveDuplicatesfor custom analyzers.Removes support for deprecated
kpandlovinsstemmers for the snowballStemming token filter type.更改
german词干分析器对变音符号的处理方式,使德语字母 ä、ö 和 ü 分别扩展为 ae、oe 和 ue。german2词干分析器现已过时。
2025 年 6 月 25 日发布
MongoDB v8.1 supports:
对标准视图执行
$search、$searchMeta和$vectorSearch查询。
2025 年 6 月 10 日发布
Introduces structured JSON mongot logs.
Adds the ability to facet on token types. stringFacet is still supported but is now outdated.
公开MongoDB Vector Search索引定义的 Hierarchical Navigable Small Worlds图表构造参数。
Adds number of segments and per-segment statistics to MongoDB Vector Search explain output.
2025 年 3 月 30 日发布
- 将向量维度限制增加到8192 。
2025 年 1 月 24 日发布
Adds the ability to facet on number and date. numberFacet and dateFacet are still supported but are now outdated.
Supports facet (MongoDB Search Operator) groupings on numbers and dates in arrays.
Supports explain results for
int8anduint1vector search queries.
2024 年发布
2024 年 12 月 09 日发布
Supports explain for facet (MongoDB Search Operator) queries.
支持自定义 null 值和缺失值的排序顺序。要了解详情,请参阅 语法。
避免在初始化错误时删除索引。
2024 年 12 月 02 日发布
支持标量量化功能,可将向量搜索的主内存要求降低约 75%。
支持二进制量化功能,可将向量搜索的主内存要求降低约 97%。
Supports ingesting
int1vectors using the new BinDatavectorsubtype.Supports ENN search using
int8andint1subtypes.
2024 年 10 月18 日发布
- 修复了磁盘已满时导致搜索节点崩溃的问题。
2024 年 9 月 18 日发布
Supports synonyms in phrase queries.
Adds support for the
matchCriteriafield to the text operator.更改了同义词映射失败的索引的行为,令不使用受影响的同义词映射的查询能够成功运行。
修复了在将
searchAfter或searchBefore与搜索节点一起使用时导致一致性问题的错误。将达到索引对象限制的索引转换为可查询的 STALE 状态。
支持对嵌入式文档中的词元类型进行索引。
Supports ingesting
float32andint8vectors using the new BSON vector type.
2024 年 8 月 19 日发布
Supports pre-filtering using arrays with all operators.
支持在MongoDB Vector Search 预筛选器中将
ObjectId与范围操作符结合使用。支持在MongoDB Vector Search 预筛选器中将
UUID值与所有操作符一起使用。Supports using the
$notoperator in MongoDB Vector Search pre-filters.
2024 年 6 月 28 日发布
对于 MongoDB Search:
升级到 Java 21 。
Java 21 支持 SIMD,这增加了 CPU 在进行向量比较时可以进行的并行处理量。
Updates all indexes to support the sort option for
numberanddatetypes.Automatically indexes
nulland UUID values if you enable dynamic mappings, which might increase the size of your index.Supports using the range operator and sort option with
ObjectIdtypes.
注意
Atlas 以滚动方式重新索引 Atlas 集群上所有现有的 MongoDB Search 索引。Atlas UI 将显示指示重新索引时间的警报。不使用独立搜索节点的集群可能会注意到,在重新索引过程中,磁盘和 CPU 利用率会临时增加。对于使用独立搜索节点的集群,Atlas 将临时免费部署额外节点以重新建立索引,因此,在完成新索引构建后,系统不会因为切换索引而停机。
2024 年 6 月 25 日发布
使 Azure 上的 搜索节点可普遍用于开发和生产部署。
2024 年 6 月 20 日发布
支持使用MongoDB驱动程序在免费
M0() 和共享层(M2和 )上创建索引。M5Introduces
exactflag in$vectorSearchto perform ENN search for small-scale, multi-tenant, or recall benchmarking use cases. To learn more, see Run Vector Search ANN and ENN Queries.
2024 年 6 月 14 日发布
31 5 月2024发布
Introduces MongoDB Search Query Templates in the Search Tester, which makes querying easier with pre-written
$searchqueries including conditional clauses likemustandshould,autocompletefor 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.
10 5 月2024发布
截断较大的 stringFacet 值。
Supports pre-filtering data by date fields indexed as the
filtertype.
07 5 月2024发布
- 修复了以下问题:使用
returnStoredSource时, MongoDB Search 未在结果中包含某些文档的_id字段。
2024 年 4 月 23 日发布
Fixes an issue where MongoDB Search triggered spurious initial syncs after certain
mongodconfiguration changes.在缺少定义版本的情况下重建索引。
2024 年 3 月 28 日发布
修复了当分数并列时MongoDB Search 没有为
searchAfter或searchBefore查询生成结果的问题。Adds the ability to query and sort by null and UUID values.
2024 年 3 月 27 日发布
- Updates MongoDB Vector Search queries to run concurrently by default on search nodes.
2024 年 3 月 05 日发布
Re-enables sort pruning.
Includes synonym queries in explain().
将向量维度限制增加到4096 。
2024 年 3 月 1 日发布
- Fixes an issue where sharded Atlas clusters running MongoDB v7.2.0 would return an error for
$searchMetastages that contain thefacetcollector.
2024 年 2 月 14 日发布
2024 年 1 月 17 日发布
2023 年发布
2023 年 12 月 26 日发布
2023 年 12 月 04 日发布
Makes separate Search Nodes for AWS generally available for both your development and production deployments. To learn more, see Node Architecture.
弃用 knnVector 类型和 knnBeta 操作符。现在,您可以在开发和生产部署中使用新的 vectorSearch 索引类型和
$vectorSearch管道阶段。要了解更多信息,请参阅 MongoDB 向量搜索概述。Improves latency when there are no mixed types in the fields you use to sort the results.
引入低 CPU搜索层级。
Makes
$vectorSearchgenerally available for both your development and production deployments. Also makes separate Search Nodes for AWS generally available for both your development and production deployments. To learn more, see Node Architecture.引入 vectorSearch 索引类型,将向量嵌入作为向量类型进行索引,用于语义搜索;将布尔值、数字和 string 数据作为过滤器类型进行预过滤。
注意
我们进程通过专用的MongoDB Vector Search索引定义推出新的MongoDB Vector Search 体验。它将在接下来的几天内或在下一个维护窗口之后在您的项目中可用。
2023 年 10 月 23 日发布
Introduces dedicated Search Nodes for MongoDB Search as a Preview feature. This feature and the corresponding documentation might change at any time during the Preview period. To learn more, see What is MongoDB Search?.
Supports parallel queries across segments for dedicated search nodes to improve response times. To learn more, see Parallelize Query Execution Across Segments.
2023 年 10 月02 日发布
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.
2023 年 9 月 26 日发布
在Atlas CLI中添加Atlas部署,以便您可以在从本地环境到云的整个软件开发生命周期中使用Atlas Search和MongoDB Vector Search。要学习;了解更多信息,请参阅从Atlas CLI管理本地和云部署。
Supports implicitly and explicitly sorting results by score.
2023 年 9 月 13 日发布
2023 年 8 月 30 日发布
- 执行系统升级。您可能会注意到一些索引和查询性能变化。
2023 年 7 月 31 日发布
Supports highlighting for fields if the fields are indexed under a parent field of type document for query predicates specified inside the
embeddedDocumentoperator.Starts initial sync automatically in certain scenarios with sharding.
Fixes a bug that caused changes to token field mapping to be ignored.
2023 年 7 月 10 日发布
Limits the knnBeta operator as a top-level operator.
Introduces the ability to perform text, wildcard, regular expression, fuzzy, and range searches on
stringfields by using the queryString operator.
2023 年 6 月 22 日发布
- Provides preview of vector search to store, index, and query vectors using MongoDB Search.
2023 年 6 月 14 日发布
- 添加了对从 M10 或更大集群的云备份快照恢复MongoDB Search 索引的支持。
2023 年 6 月 7 日发布
- 支持跟踪查询中的搜索术语,并在
M10或更高版本的 Atlas 集群的 Atlas 用户界面中查看所跟踪搜索术语的查询分析。
2023 年 5 月 26 日发布
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.
2023 年 4 月 25 日发布
- Adds
scoreDetailsboolean option to retrieve a detailed breakdown of the score for each document in the query results.
2023 年 3 月 01 日发布
- Introduces the ability to edit your MongoDB Search query in the Search Tester.
2023 年 1 月 31 日发布
Adds the following language analyzers:
lucene.polishlucene.portugueselucene.smartcnlucene.soranilucene.thailucene.turkish
Supports the number data type using the equals operator.
Supports synonyms for sharded clusters.
2023 年 1 月 25 日发布
- Supports the embeddedDocuments type in the MongoDB Search visual editor configuration mode in the Atlas UI.
2022 年发布
2022 年 11 月 2 日发布
Supports statically indexing arrays of strings as the autocomplete type and querying the indexed field using the autocomplete operator.
2022 年 10 月03 日发布
- Improves performance for storedSource.
2022 年 8 月 02 日发布
升级到MongoDB Search,其中包括:
查询改进
支持在正则表达式查询中使用
\w、\W、\D、\s和\S正则表达式。但是, MongoDB Search 在正则表达式查询中不会返回s、S、w、W、d和D以外的字符的结果。我们建议根据正则表达式标准使用反斜杠。Updates to email tokenizer top-level domains from the IANA Root Zone Database.
突出显示改进
- 段落选择器会截断长片段以显示较短的片段,从而修复了当段落较长时查询失败的原因。
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.
2022 年 6 月 07 日发布
Supports the facet collector on sharded clusters running MongoDB 6.0 and later.
Supports
$searchand$searchMetastages inside$lookupand$unionWithsub-pipeline.
2022 年 6 月 1 日发布
- Introduces embedded documents for
$elemMatch-like searches.
2022 年 4 月 27 日发布
Improves performance of stored source fields for faster post-aggregation stages.
提高复制延迟指标报告的精度。
2022 年 4 月 19 日发布
- 优化内部批处理,在查询匹配大量文档(如 5,000 个或更多)时提高存储源查询的性能。
2022 年 3 月 31 日发布
- Introduces an option in the index definition for storing fields on MongoDB Search and
$searchoption for returning stored fields.
2022 年 3 月 9 日发布
引入新的
Project Search Index Editor角色,以使用Atlas用户界面或API创建、查看、编辑和删除MongoDB搜索索引。如果新索引定义无效,则使用上一个有效索引处理查询。
Removes Lucene's default clause limit of
1024forBooleanQueryon 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.
2022 年 3 月 01 日发布
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.
2022 年 1 月 26 日发布
- Adds reverse token filter, which reverses each string token.
2021 年发布
2021 年 12 月 10 日发布
- Adds support for Gaussian decay expressions, which decay, or reduce, document scores by multiplying at a specified rate.
2021 年 11 月 3 日发布
- Adds asciiFolding token filter for converting alphabetic, numeric, and symbolic unicode characters that are not in the Basic Latin Unicode block to their ASCII equivalents.
2021 年 9 月 28 日发布
Autocomplete improvements in this release:
Adds support for analyzers in the index definition for autocomplete.
增强 autocomplete 操作符中的精确匹配。
Adds
rightEdgeGramtokenization strategy to createedgeGram-like tokens starting at the right side of words (instead of the left side).
此版本包含的错误修复:
- 修复
objectId突出显示错误。
2021 年 9 月 07 日发布
- 允许索引进入恢复状态并在遇到某些复制错误后保持可用。
2021 年 7 月 13 日发布
- Adds support for synonyms, which can be defined in a source collection and mapped to search indexes via the Atlas API.
2021 年 6 月 01 日发布
- Supports wildcard path for highlight.
2021 年 4 月 05 日发布
- Adds stopword token filter for removing tokens that match the specified stop words.
2021 年 3 月 19 日发布
Adds additional language analyzers, token filters, and tokenizers.
Adds support for function scores, which allows you to alter the relevance score of a document using a numeric field in the same document.
2021 年 2 月 05 日发布
- Supports explain for
$searchqueries.
2021 年 1 月 16 日发布
- Fixes an issue with highlighting raising errors when combined with ObjectID equality operators.
2021 年 1 月 14 日发布
- 提高初始同步索引的性能。
2020 年发布
2020 年 12 月 15 日发布
2020 年 11 月 19 日发布
- 提高稳定状态索引的性能。
2020 年 11 月 13 日发布
2020 年 10 月1 日发布
- 删除重建修改的索引定义时的停机时间要求。
2020 年 9 月 2 日发布
- Adds custom analyzers for index definitions and search queries.
2020 年 8 月 23 日发布
- 增加了对通配符路径的支持。
2020 年 6 月 9 日发布
Releases Atlas Search to general availability.
2020 年 5 月 18 日发布
Adds a new index option to exclude the
normsfield, 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 的消息。
2020 年 4 月 30 日发布
添加自动完成功能以支持更好的输入时搜索功能,包括:
A new autocomplete operator and index type.
对字段值进行不考虑特定分析器的重音字母折叠操作。
评分选项,例如 boost 和 constant。
自动完成与其他 $search 操作符组合在一起的复合查询。
来自分析文本的 n-grams/shingles 和边缘 n-grams。
注意
要查看4 月 2020之前发布的MongoDB Search发布说明,请参阅Atlas Changelog。