This page describes the compatibility and limitations of MongoDB Search features on Atlas. For details on MongoDB Search compatibility with self-managed deployments, see Compatibility and Requirements for mongot.
Compatibilidad de Atlas
Para ciertas funcionalidades, MongoDB Search podría requerir una versión específica de MongoDB. La siguiente tabla enumera las funcionalidades de MongoDB Search que requieren versiones específicas de MongoDB.
Funcionalidad de MongoDB Search | Versión de MongoDB para la funcionalidad |
|---|---|
8.0+ | |
Query Views directamente con | 8.1+ |
| 8.2+ |
| 8.2+ |
7.0+, 8.0+ | |
7.0+, 8.0+ | |
7.0+, 8.0+ | |
7.0+, 8.0+ | |
7.0+, 8.0+ | |
7.0+, 8.0+ | |
7.0+, 8.0+ | |
7.0+, 8.0+ | |
7.0+, 8.0+ | |
implementación local de MongoDB Search con la CLI de Atlas | 7.0+, 8.0+ |
6.0.13+, 7.0.5+, 8.0+ |
MongoDB Search is not supported for time series collections. Starting in MongoDB 8.3, the $search, $searchMeta, and $vectorSearch stages fail with an error message when run on timeseries collections. Previously, these stages returned empty results.
Buscar Limitaciones de Free clúster y Flex clústeres
Las siguientes limitaciones se aplican solo a MongoDB Search en clústeres Free y Flex:
No puede crear más de:
3 índices (independientemente del tipo,
searchovector) en los clústeres Free.10 índices en clústeres Flex.
Cuando alcance el número máximo de índices permitidos para el nivel del clúster, podrá escalar el nivel de su clúster para crear índices adicionales. Si se escala el nivel de clúster, los índices se reconstruyen en el nuevo nivel de clúster, lo que activa una sincronización inicial.
Un objeto JSON de definición de índice no puede exceder los 3KB de tamaño.
Una definición de índice solo puede tener un mapeo de sinónimos.
La creación de índices con más de 300 campos fallará.
El límite de cláusulas por defecto de Lucene de 1024 se aplica a cualquier
BooleanQuerycreado para búsquedas.La colección de sinónimos no puede exceder los 10,000 documentos.
MongoDB Search doesn't support encrypting MongoDB Search indexes with encryption keys using Customer Key Management in the Atlas UI.
Nota
Puede solicitar una nueva funcionalidad o votar a favor de una solicitud existente usando el Motor de comentarios de MongoDB.
Limitaciones del Playground de Search
Para aprender las limitaciones de Search Playground, consulta Limitaciones de Search Playground.
Clientes compatibles
Para aprender sobre los clientes admitidos, consulta Índices y Queries.
Limitaciones del índice
If you create a MongoDB Search index that has or will soon have more than 2.1 billion index objects, you must use numPartitions or shard your cluster. For this limit, each top-level document or nested embeddedDocument in the indexed collection fields counts as one object
De manera predeterminada, MongoDB Search deja de replicar los cambios para un índice único que crece más allá de 2.1 billones de objetos de índice en cualquier miembro del set de réplicas o partición. Esto significa que tu índice sigue siendo consultable, pero podrías obtener resultados obsoletos.
If your collection contains documents that are 16MB or larger, MongoDB Search fails to index your document, causing your index to become STALE, and initiates a full index rebuild. You must delete the offending document(s) from your collection in order for index rebuild to successfully complete. This issue can also occur when update operations on large documents cause the change stream event to exceed the 16MB BSON limit. To avoid this, we recommend that no single document in your collection exceeds 8MB. Consider the following best practices:
Estructure sus documentos para minimizar el tamaño de subdocumentos o arreglos.
Evite operaciones que actualicen o reemplacen campos grandes, subdocumentos o arreglos.
To learn more, see Change Streams Production Recommendations and Reduce the Size of Large Documents.
Para obtener más información sobre las limitaciones del índice, consulte:
Limitaciones del tipo de campo
Para aprender sobre las limitaciones de los tipos de campos, consulte:
Otras limitaciones
If you're using a clustered collection and have the notablescan parameter set to true, your MongoDB Search indexes may not finish building. To resolve this issue, you must set the notablescan parameter to false or check your log for index status transitions.
Limitaciones de query
Limitaciones de operador
Para obtener información sobre las limitaciones del operador del query, consulta:
Compatibilidad de opciones y limitaciones
Para aprender sobre la compatibilidad y limitaciones de las opciones de query, consulte: