Docs Menu

Docs HomeLaunch & Manage MongoDBMongoDB Atlas

Atlas Search Changelog

On this page

  • 2024 Releases
  • 2023 Releases
  • 2022 Releases
  • 2021 Releases
  • 2020 Releases
  • Re-enables sort pruning.

  • Includes synonym queries in explain().

  • Supports using equals, in, and range operators to perform exact matching and filtering on BSON strings indexed as the Atlas Search token type.

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

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

  • Performs system upgrade. You might notice some indexing and querying performance changes.

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

  • Improves performance of $search with $limit.

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

    Note

    You can't use the mongosh command or driver helper methods to create, retrieve, edit, or delete Atlas Search indexes on M0, M2, or M5 Atlas clusters.

  • Provides preview of vector search to store, index, and query vectors using Atlas Search.

  • Adds support for restoring Atlas Search indexes from Cloud Backup snapshots of M10 or larger clusters.

  • Supports tracking search terms in queries and viewing query analytics for tracked search terms in the Atlas UI for M10 or higher Atlas clusters.

  • 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 Atlas Search query in the Search Tester.

  • Supports the embeddedDocuments type in the Atlas 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.

  • Upgrades to Atlas Search, which include the following:

    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.

  • Introduces embedded documents for $elemMatch-like searches.

    Note

    The Atlas Search embeddedDocuments index option, embeddedDocument operator, and embedded scoring option are in preview. When an Atlas Search index on a replica set or single MongoDB shard reaches Lucene's two billion document limit, Atlas Search doesn't index new documents or apply updates to existing documents for that index. A solution to accommodate this limitation will be in place when this feature is generally available. To troubleshoot any issues related to using this feature, contact Support.

  • Optimizes internal batching to improve stored source query performance when your query matches a large number of documents (5,000 or more).

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

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

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

Bug fixes in this release:

  • Fixes objectId highlighting error.

  • Allows indexes to enter a recovering state and remain available after encountering certain replication errors.

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

  • Improves performance of initial sync indexing.

  • Adds maxNumPassages and maxCharsToExamine for highlight.

  • Improves performance of steady state indexing.

  • Removes downtime requirement when rebuilding modified index definitions.

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

  • Adds support for geospatial queries, including:

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

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

←  FAQ: Atlas SearchPerform Semantic Search with Atlas Vector Search →