Hi, mongodb atlas coummnity, I have question.
The atlas search index performance page contains the following.
‘If you create an Atlas Search index for a collection that has or will soon have more than 2.1 billion index objects, you must use numPartitions or shard your cluster. Index partitions are limited to 2.1 billion objects per partition.’
What exactly is the ‘index objects’ you’re talking about over there?
For example, there is one document a in collection A, and the search index is as follows.
A collection
{
"items": [
{
"count": 10,
"info": {
"name": "abcd",
"value": "ABCD"
}
},
{
"count": 5,
"info": {
"name": "xyz",
"value": "XYZ"
}
}
],
"link": {
"url": "https://www.google.com",
"alias": "google"
},
"score": 100
}
Search index
{
"mappings": {
"dynamic": false,
"fields": {
"items": [
{
"fields": {
"count": {
"indexDoubles": false,
"representation": "int64",
"type": "number"
},
"info": {
"fields": {
"value": {
"type": "token"
}
},
"type": "document"
}
},
"type": "embeddedDocuments"
}
],
"link": {
"fields": {
"url": {
"type": "token"
},
"alias": {
"type": "token"
}
},
"type": "document"
},
"score": [
{
"indexDoubles": false,
"representation": "int64",
"type": "number"
},
{
"indexDoubles": false,
"representation": "int64",
"type": "numberFacet"
}
]
}
}
}
How many index objects are there in the above case?