Docs Menu

Docs HomeMongoDB Atlas

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 statically indexing arrays of strings as 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:

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

    We are extending support for faceting on numeric and date fields using number and date type 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 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 number and date type 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.

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

About

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