Docs Menu

Docs HomeMongoDB Atlas

Frequently Asked Questions

On this page

Yes. The following Atlas Search operators support partial string matching queries:

  • autocomplete

  • wildcard

  • regex

Tip

See also:

Yes. You can use the wildcard and regex operators with a custom analyzer to perform a case-insensitive search. You can define a custom analyzer with the following tokenizer and token filter to perform a wildcard case-insensitive search:

Yes. The Atlas Search storedSource option stores original values. To perform case-insensitive operations after the $search stage on the results returned using returnStoredSource option, you must set the default collation strength of your collection to 1 or 2 when you create it, and must not specify a different collation in your queries and indexes.

No, you can't use the shard key to run Atlas Search queries on a specific shard or a subset of shards. In a sharded cluster environment, Atlas Search queries are scatter-gather queries that run on all the shards.

By default, queries run on primary notes. You can configure your read reference or use replica set tags to specify read preference. To learn more, see Atlas Search Overview.

←  Atlas Search M0 (Free Cluster), M2, and M5 LimitationsAtlas Search Changelog →
Give Feedback
© 2022 MongoDB, Inc.

About

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