Skip to content

Commit

Permalink
Update indexes file
Browse files Browse the repository at this point in the history
Change-Id: I4108c8276f864d1e4095e959a358865d576a6bf5
  • Loading branch information
samtstern committed Sep 28, 2017
1 parent bc29d82 commit a9da816
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions firestore/indexes.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,57 +3,57 @@
{
"collectionId": "restaurants",
"fields": [
{ "fieldPath": "city", "direction": "ASCENDING" },
{ "fieldPath": "avgRating", "direction": "DESCENDING" }
{ "fieldPath": "city", "mode": "ASCENDING" },
{ "fieldPath": "avgRating", "mode": "DESCENDING" }
]
},
{
"collectionId": "restaurants",
"fields": [
{ "fieldPath": "category", "direction": "ASCENDING" },
{ "fieldPath": "avgRating", "direction": "DESCENDING" }
{ "fieldPath": "category", "mode": "ASCENDING" },
{ "fieldPath": "avgRating", "mode": "DESCENDING" }
]
},
{
"collectionId": "restaurants",
"fields": [
{ "fieldPath": "price", "direction": "ASCENDING" },
{ "fieldPath": "avgRating", "direction": "DESCENDING" }
{ "fieldPath": "price", "mode": "ASCENDING" },
{ "fieldPath": "avgRating", "mode": "DESCENDING" }
]
},
{
"collectionId": "restaurants",
"fields": [
{ "fieldPath": "city", "direction": "ASCENDING" },
{ "fieldPath": "numRatings", "direction": "DESCENDING" }
{ "fieldPath": "city", "mode": "ASCENDING" },
{ "fieldPath": "numRatings", "mode": "DESCENDING" }
]
},
{
"collectionId": "restaurants",
"fields": [
{ "fieldPath": "category", "direction": "ASCENDING" },
{ "fieldPath": "numRatings", "direction": "DESCENDING" }
{ "fieldPath": "category", "mode": "ASCENDING" },
{ "fieldPath": "numRatings", "mode": "DESCENDING" }
]
},
{
"collectionId": "restaurants",
"fields": [
{ "fieldPath": "price", "direction": "ASCENDING" },
{ "fieldPath": "numRatings", "direction": "DESCENDING" }
{ "fieldPath": "price", "mode": "ASCENDING" },
{ "fieldPath": "numRatings", "mode": "DESCENDING" }
]
},
{
"collectionId": "restaurants",
"fields": [
{ "fieldPath": "city", "direction": "ASCENDING" },
{ "fieldPath": "price", "direction": "ASCENDING" }
{ "fieldPath": "city", "mode": "ASCENDING" },
{ "fieldPath": "price", "mode": "ASCENDING" }
]
},
{
"collectionId": "restaurants",
"fields": [
{ "fieldPath": "category", "direction": "ASCENDING" },
{ "fieldPath": "price", "direction": "ASCENDING" }
{ "fieldPath": "category", "mode": "ASCENDING" },
{ "fieldPath": "price", "mode": "ASCENDING" }
]
}
]
Expand Down

0 comments on commit a9da816

Please sign in to comment.