Skip to content

Commit 4ed725f

Browse files
Kamitseaver
authored andcommitted
Update docs for building datastore indexes. (#8707)
Restore `index.yml` file removed in PR #3146.
1 parent ef6442d commit 4ed725f

2 files changed

Lines changed: 24 additions & 1 deletion

File tree

CONTRIBUTING.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ Running System Tests
200200
> --key-file=${GOOGLE_APPLICATION_CREDENTIALS}
201201

202202
# Create the indexes
203-
$ gcloud datastore create-indexes system_tests/data/index.yaml
203+
$ gcloud datastore indexes create datastore/tests/system/index.yaml
204204

205205
- For datastore query tests, you'll need stored data in your dataset.
206206
To populate this data, run::

datastore/tests/system/index.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
indexes:
2+
3+
- kind: Character
4+
ancestor: yes
5+
properties:
6+
- name: appearances
7+
8+
- kind: Character
9+
ancestor: yes
10+
properties:
11+
- name: alive
12+
13+
- kind: Character
14+
ancestor: yes
15+
properties:
16+
- name: family
17+
- name: appearances
18+
19+
- kind: Character
20+
ancestor: yes
21+
properties:
22+
- name: name
23+
- name: family

0 commit comments

Comments
 (0)