Docs Menu

Docs HomeMongoDB Atlas

Atlas Search Changelog

On this page

  • 2023 Releases
  • 2022 Releases
  • 2021 Releases
  • 2020 Releases

Note

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

2023 Releases

  • Introduces the ability to edit your Atlas Search query in the Search Tester.

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

  • Supports the embeddedDocuments type in the Atlas Search visual editor configuration mode in the Atlas UI.

  • 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 than s, S, w, W, d, and D 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.

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

  • Adds reverse token filter, which reverses each string token.

Autocomplete improvements in this release:

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.

Share Feedback
© 2023 MongoDB, Inc.

About

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