Atlas Search Changelog
2024 Releases
09 December 2024 Release
Supports customizing the sort order of null and missing values. To learn more, see Syntax.
Avoids deleting the index upon initialization errors.
18 October 2024 Release
Fixes an issue that caused Search Nodes to crash when disk was full.
18 September 2024 Release
Supports synonyms in phrase queries.
Adds support for the
matchCriteria
field to the text operator.Changes the behavior of indexes with failed synonyms mapping so that queries which don't use the affected synonyms mapping can run successfully.
Fixes a bug that caused consistency issues when using
searchAfter
orsearchBefore
with search nodes.Transitions indexes where the index objects limit is reached to a queryable STALE state.
Supports indexing token types in embedded documents.
Supports using the
mongosh
command or driver helper methods to create, retrieve, edit, or delete Atlas Search indexes onM0
,M2
, orM5
Atlas clusters.
28 June 2024 Release
Upgrades to Java 21.
Updates all indexes to support the sort option for
number
anddate
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.
Note
Atlas will reindex all of your existing Atlas Search indexes on the Atlas cluster in a rolling manner. The Atlas UI will display alerts that indicate 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 will temporarily deploy additional nodes for free for reindexing and there will be no downtime for swapping of indexes when the new index build completes.
25 June 2024 Release
Makes Search Nodes on Azure generally available for both your development and production deployments.
Introduces Search Nodes support for multi-region and multi-cloud clusters as a Preview feature.
31 May 2024 Release
Introduces Atlas Search Query Templates in the Search Tester, which makes querying easier with pre-written
$search
queries including conditional clauses likemust
andshould
,autocomplete
for search-as-you-type experiences, faceting, and more. To learn more, see Run Atlas Search Queries.Introduces changes to the Atlas Search API endpoints. To learn more, see API Changelog for May 31 2024 Release.
10 May 2024 Release
Truncates large stringFacet values.
07 May 2024 Release
Fixes an issue where Atlas Search didn't include the
_id
field for some documents in the results when usingreturnStoredSource
.
23 April 2024 Release
Fixes an issue where Atlas Search triggered spurious initial syncs after certain
mongod
configuration changes.Rebuilds indexes where the definition version is missing.
28 March 2024 Release
Fixes an issue where Atlas Search didn't generate results for
searchAfter
orsearchBefore
queries when scores were tied.Adds the ability to query and sort by null and UUID values.
05 March 2024 Release
Re-enables sort pruning.
Includes synonym queries in explain().
01 March 2024 Release
Fixes an issue where sharded Atlas clusters running MongoDB v7.2.0 would return an error for
$searchMeta
stages that contain thefacet
collector.
14 February 2024 Release
Supports running
$searchMeta
queries in the Search Tester. To learn more, see Run Atlas Search Queries.
17 January 2024 Release
Supports retrieving
$search
results sequentially after or before a reference point, which you can specify using a token generated by the$meta
keywordsearchSequenceToken
. To learn more, see Paginate the Results.
2023 Releases
26 December 2023 Release
04 December 2023 Release
Makes separate Search Nodes for AWS generally available for both your development and production deployments. To learn more, see Node Architecture.
Deprecates knnVector type and knnBeta operator. Instead, you can now use the new vectorSearch index type and the
$vectorSearch
pipeline stage in both your development and production deployments. To learn more, see Atlas Vector Search Overview.Improves latency when there are no mixed types in the fields you use to sort the results.
Introduces low-CPU search tiers.
23 October 2023 Release
Introduces dedicated Search Nodes for Atlas Search as a Preview feature. This feature and the corresponding documentation might change at any time during the Preview period. To learn more, see Atlas Search Overview.
Supports parallel queries across segments for dedicated search nodes to improve response times. To learn more, see Parallelize Query Execution Across Segments.
26 September 2023 Release
Adds atlas deployments in the Atlas CLI so that you can work with Atlas Search and Atlas Vector Search throughout the entire software development lifecycle from your local environment to the cloud. To learn more, see Manage Local and Cloud Deployments from the Atlas CLI.
Supports implicitly and explicitly sorting results by score.
13 September 2023 Release
Supports custom analyzer configuration in the Atlas UI Visual Editor.
Supports token type configuration in the Atlas UI Visual Editor.
30 August 2023 Release
Performs system upgrade. You might notice some indexing and querying performance changes.
31 July 2023 Release
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.
10 July 2023 Release
Adds the sort option, which supports sorting in ascending or descending order on fields that you define in your Atlas Search index for sorting.
Note
Atlas 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.For Atlas clusters running MongoDB 6.0.8 or later on
M10
or higher clusters, introduces ability to create and manage Atlas Search indexes frommongosh
and NodeJS driver.
22 June 2023 Release
Provides preview of vector search to store, index, and query vectors using Atlas Search.
14 June 2023 Release
Adds support for restoring Atlas Search indexes from Cloud Backup snapshots of M10 or larger clusters.
07 June 2023 Release
Supports tracking search terms in queries and viewing query analytics for tracked search terms in the Atlas UI for
M10
or higher Atlas clusters.
26 May 2023 Release
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.
25 April 2023 Release
Adds
scoreDetails
boolean option to retrieve a detailed breakdown of the score for each document in the query results.
01 March 2023 Release
Introduces the ability to edit your Atlas Search query in the Search Tester.
31 January 2023 Release
Adds the following language analyzers:
lucene.polish
lucene.portuguese
lucene.smartcn
lucene.sorani
lucene.thai
lucene.turkish
Adds the following token filters:
Supports the number data type using the equals operator.
Supports synonyms for sharded clusters.
25 January 2023 Release
Supports the embeddedDocuments type in the Atlas Search visual editor configuration mode in the Atlas UI.
2022 Releases
02 November 2022 Release
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.
03 October 2022 Release
Improves performance for storedSource.
02 August 2022 Release
Upgrades to Atlas Search, which include the following:
Querying improvements
Supports
\w
,\W
,\D
,\s
, and\S
regular expressions in the regex query. However, Atlas Search doesn't return results for characters other thans
,S
,w
,W
,d
, andD
in the regex query. We recommend using backslashes according to regex standards.Updates to email tokenizer top-level domains from the IANA Root Zone Database.
Highlighting improvements
Passage selector truncates long snippets to show a shorter snippet, which fixes the cause for queries failing when the passage is long.
Explain output for some queries might look different. If you use explain, verify that the changes don't break logic in your environment.
In addition to the preceding list of changes, you might notice some indexing and querying performance changes.
Introduces moreLikeThis operator to retrieve documents similar to one or more input documents.
07 June 2022 Release
Supports the facet collector on sharded clusters running MongoDB 6.0 and later.
Supports
$search
and$searchMeta
stages inside$lookup
and$unionWith
sub-pipeline.
01 June 2022 Release
Introduces embedded documents for $elemMatch-like searches.
Note
The Atlas Search embeddedDocuments type, embeddedDocument operator, and
embedded
scoring option are in preview. When an Atlas Search index on a replica set or single MongoDB shard reaches 2,100,000,000 index objects, Atlas Search transitions the index to a stale, queryable state. If you would like Atlas Search to support more than 2,100,000,000 index objects in the future, vote for this request in the MongoDB Feedback Engine.
27 April 2022 Release
Improves performance of stored source fields for faster post-aggregation stages.
Improves precision of replication lag metrics reporting.
19 April 2022 Release
Optimizes internal batching to improve stored source query performance when your query matches a large number of documents (5,000 or more).
31 March 2022 Release
Introduces an option in the index definition for storing fields on Atlas Search and
$search
option for returning stored fields.
09 March 2022 Release
Introduces a new
Project Search Index Editor
role to create, view, edit, and delete Atlas Search indexes using the Atlas UI or API.Serves queries using your last valid index if new index definition is invalid.
Removes Lucene's default clause limit of
1024
forBooleanQuery
on dedicated clusters.Note
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.
01 March 2022 Release
Adds the numberFacet and dateFacet data types for running facet queries on number and date fields respectively.
Note
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.
26 January 2022 Release
Adds reverse token filter, which reverses each string token.
2021 Releases
10 December 2021 Release
Adds support for Gaussian decay expressions, which decay, or reduce, document scores by multiplying at a specified rate.
03 November 2021 Release
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.
28 September 2021 Release
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 createedgeGram
-like tokens starting at the right side of words (instead of the left side).
Bug fixes in this release:
Fixes
objectId
highlighting error.
07 Septermber 2021 Release
Allows indexes to enter a recovering state and remain available after encountering certain replication errors.
13 July 2021 Release
Adds support for synonyms, which can be defined in a source collection and mapped to search indexes via the Atlas API.
01 June 2021 Release
Supports wildcard path for highlight.
05 April 2021 Release
Adds stopword token filter for removing tokens that match the specified stop words.
19 March 2021 Release
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.
05 February 2021 Release
Supports explain for
$search
queries.
16 January 2021 Release
Fixes an issue with highlighting raising errors when combined with ObjectID equality operators.
14 January 2021 Release
Improves performance of initial sync indexing.
2020 Releases
15 December 2020 Release
Adds
maxNumPassages
andmaxCharsToExamine
for highlight.
19 November 2020 Release
Improves performance of steady state indexing.
13 November 2020 Release
Fixes a bug in custom analyzers where only the first
charMap
character filter was being executed.
1 October 2020 Release
Removes downtime requirement when rebuilding modified index definitions.
2 September 2020 Release
Adds custom analyzers for index definitions and search queries.
23 August 2020 Release
Adds support for wildcard path.
9 June 2020 Release
Releases Atlas Search to general availability.
18 May 2020 Release
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.
Improves error messages to facilitate query debugging, including eliminating stack traces and other Java-specific messages.
30 April 2020 Release
Adds support for geospatial queries, including:
Adds autocomplete features to support better search-as-you-type functionality, including:
A new autocomplete operator and index type.
Analyzer-agnostic diacritic folding of field values.
Scoring options, such as boost and constant.
Compound queries that combine autocomplete with other $search operators.
n-grams/shingles and edge n-grams from analyzed text.
Note
To review Atlas Search release notes published before April 2020, see Atlas Changelog.