|
1 | 1 | { |
2 | 2 | "indexes": [ |
3 | 3 | { |
4 | | - "collectionGroup": "users", |
| 4 | + "collectionGroup": "books", |
5 | 5 | "queryScope": "COLLECTION", |
6 | 6 | "fields": [ |
7 | 7 | { |
8 | | - "fieldPath": "userInfo.disabled", |
9 | | - "order": "ASCENDING" |
| 8 | + "fieldPath": "featured", |
| 9 | + "order": "DESCENDING" |
10 | 10 | }, |
11 | 11 | { |
12 | | - "fieldPath": "userInfo.queryEmail", |
13 | | - "order": "ASCENDING" |
| 12 | + "fieldPath": "copiesAvailable", |
| 13 | + "order": "DESCENDING" |
| 14 | + }, |
| 15 | + { |
| 16 | + "fieldPath": "copiesTotal", |
| 17 | + "order": "DESCENDING" |
14 | 18 | } |
15 | 19 | ] |
16 | 20 | }, |
17 | 21 | { |
18 | | - "collectionGroup": "users", |
| 22 | + "collectionGroup": "checkouts", |
19 | 23 | "queryScope": "COLLECTION", |
20 | 24 | "fields": [ |
21 | 25 | { |
22 | | - "fieldPath": "userInfo.disabled", |
| 26 | + "fieldPath": "checkoutStatus", |
23 | 27 | "order": "ASCENDING" |
24 | 28 | }, |
25 | 29 | { |
26 | | - "fieldPath": "userInfo.queryFirstName", |
| 30 | + "fieldPath": "dueDate", |
27 | 31 | "order": "ASCENDING" |
28 | 32 | } |
29 | 33 | ] |
30 | 34 | }, |
31 | 35 | { |
32 | | - "collectionGroup": "users", |
| 36 | + "collectionGroup": "copies", |
33 | 37 | "queryScope": "COLLECTION", |
34 | 38 | "fields": [ |
35 | 39 | { |
36 | | - "fieldPath": "userInfo.disabled", |
| 40 | + "fieldPath": "libraryID", |
37 | 41 | "order": "ASCENDING" |
38 | 42 | }, |
39 | 43 | { |
40 | | - "fieldPath": "userInfo.queryLastName", |
| 44 | + "fieldPath": "status", |
41 | 45 | "order": "ASCENDING" |
42 | 46 | } |
43 | 47 | ] |
|
69 | 73 | "queryScope": "COLLECTION_GROUP" |
70 | 74 | } |
71 | 75 | ] |
| 76 | + }, |
| 77 | + { |
| 78 | + "collectionGroup": "users", |
| 79 | + "fieldPath": "identifiers", |
| 80 | + "indexes": [ |
| 81 | + { |
| 82 | + "order": "ASCENDING", |
| 83 | + "queryScope": "COLLECTION" |
| 84 | + }, |
| 85 | + { |
| 86 | + "order": "DESCENDING", |
| 87 | + "queryScope": "COLLECTION" |
| 88 | + }, |
| 89 | + { |
| 90 | + "arrayConfig": "CONTAINS", |
| 91 | + "queryScope": "COLLECTION" |
| 92 | + }, |
| 93 | + { |
| 94 | + "arrayConfig": "CONTAINS", |
| 95 | + "queryScope": "COLLECTION_GROUP" |
| 96 | + } |
| 97 | + ] |
72 | 98 | } |
73 | 99 | ] |
74 | 100 | } |
0 commit comments