flâneur — a map of the web's best reading

Create an Atlas Search Index — MongoDB Atlas

mongodb.com · 710 words · saved by 1 readers

Atlas Search index is a data structure that categorizes data in an easily searchable format. It is a mapping between terms and the documents that contain those terms. Atlas Search indexes enable faster retrieval of documents using certain identifiers. You must configure an Atlas Search index to query data in your Atlas cluster using Atlas Search. You can create an Atlas Search index on a single field or on multiple fields. We recommend that you index the fields that you regularly use to sort or filter your data in order to quickly retrieve the documents that contain the relevant data at query-time. You can create an Atlas Search index for all collections except time series collections on your Atlas cluster through the Atlas UI, API , Atlas CLI , and Terraform. If you use the $out aggregation stage to modify a collection with an Atlas Search index, you must delete and re-create the search index. If possible, consider using $merge instead of $out. To create an Atlas Search index

Manage MongoDB Search Indexes - MongoDB Search - MongoDB Docs For AI agents: a documentation index is available at https://www.mongodb.com/docs/llms.txt — markdown versions of all pages are available by appending .md to any URL path. Docs Menu Ask MongoDB AI Docs Home / / Queries & Indexes Docs Home / Development / Search / Queries & Indexes Docs Home / Development / Search / Queries & Indexes Manage MongoDB Search Indexes Copy page A MongoDB Search index is a data structure that maps documents from your Atlas cluster to the terms that are extracted from those documents. MongoDB Search indexes

Explore this link on the map →

related reading