Docs Menu

Atlas Search Changelog

On this page

  • 2022 Releases
  • 2021 Releases
  • 2020 Releases
Note

Atlas Search release notes from prior to April 2020 can be found in the Atlas Changelog.

  • Supports the facet collector on sharded clusters running MongoDB 6.0 and later (including release candidates).
  • 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 accomodate this limitation will be in place when we make this feature generally available. Meanwhile, the MongoDB Cloud Support team will help troubleshoot any issues related to using this feature as part of your contract.

  • 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

    Atlas Search support for faceting on numeric and date fields using number and date type is being deprecated. Although you can continue using existing facet definitions on the number and date types, make a note of the following:

    • We recommend using the new numberFacet and dateFacet types in all index definitions for faceting on numeric and date fields, respectively.
    • Support for faceting on numeric and date fields using number and date types will be removed in August 2022.
  • Adds numberFacet and dateFacet data types for running facet queries on number and date fields respectively.

    Note

    Atlas Search support for faceting on numeric and date fields using number and date type is being deprecated. Although you can continue using existing facet definitions on the number and date types, make a note of the following:

    • We recommend using the new numberFacet and dateFacet types in all index definitions for faceting on numeric and date fields, respectively.
    • Support for faceting on numeric and date fields using number and date types will be removed in August 2022.
  • Adds reverse token filter, which reverses each string token.
  • 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.

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.
  • 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.
Give Feedback
© 2022 MongoDB, Inc.

About

  • Careers
  • Investor Relations
  • Legal Notices
  • Privacy Notices
  • Security Information
  • Trust Center
© 2022 MongoDB, Inc.