1 {
2 // Example (Standard Edition):
3 //
4 // "indexes": [
5 // {
6 // "collectionGroup": "widgets",
7 // "queryScope": "COLLECTION",
8 // "fields": [
9 // { "fieldPath": "foo", "arrayConfig": "CONTAINS" },
10 // { "fieldPath": "bar", "mode": "DESCENDING" }
11 // ]
12 // },
13 //
14 // "fieldOverrides": [
15 // {
16 // "collectionGroup": "widgets",
17 // "fieldPath": "baz",
18 // "indexes": [
19 // { "order": "ASCENDING", "queryScope": "COLLECTION" }
20 // ]
21 // },
22 // ]
23 // ]
24 //
25 // Example (Enterprise Edition):
26 //
27 // "indexes": [
28 // {
29 // "collectionGroup": "reviews",
30 // "queryScope": "COLLECTION_GROUP",
31 // "apiScope": "MONGODB_COMPATIBLE_API",
32 // "density": "DENSE",
33 // "multikey": false,
34 // "fields": [
35 // { "fieldPath": "baz", "mode": "ASCENDING" }
36 // ]
37 // },
38 // {
39 // "collectionGroup": "items",
40 // "queryScope": "COLLECTION_GROUP",
41 // "apiScope": "MONGODB_COMPATIBLE_API",
42 // "density": "SPARSE_ANY",
43 // "multikey": true,
44 // "fields": [
45 // { "fieldPath": "baz", "mode": "ASCENDING" }
46 // ]
47 // },
48 // ]
49 "indexes": [],
50 "fieldOverrides": []
51 }