Skip to content

Commit 8be3497

Browse files
committed
fix(docs): update document paths to use dataset directory
1 parent fce6b28 commit 8be3497

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

examples/operations/multinode-HA/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ Notes:
463463
## Test feed and query endpoints
464464
Feed 5 documents, using the document-API endpoint in the _feed_ container cluster, here mapped to 8080/8081:
465465
<pre data-test="exec">
466-
$ i=0; (for doc in $(ls ../../../album-recommendation/ext/*.json); \
466+
$ i=0; (for doc in $(ls ../../../album-recommendation/dataset/*.json); \
467467
do \
468468
curl -H Content-Type:application/json -d @$doc \
469469
http://localhost:8080/document/v1/mynamespace/music/docid/$i; \
@@ -745,7 +745,7 @@ export VESPA_CLI_DATA_PLANE_KEY_FILE=pki/client/client.key
745745
```
746746
Feed documents:
747747
```
748-
vespa feed -t https://localhost:8443 ../../../album-recommendation/ext/documents.jsonl
748+
vespa feed -t https://localhost:8443 ../../../album-recommendation/dataset/documents.jsonl
749749
```
750750
Visit documents:
751751
```
@@ -762,7 +762,7 @@ Note that the _feed_ and _query_ container cluster nodes are mapped to 8443 and
762762
## Test feed and query endpoints using curl
763763
Feed 5 documents, using the document-API endpoint in the _feed_ container cluster, here mapped to 8080/8081:
764764
<pre data-test="exec">
765-
$ i=0; (for doc in $(ls ../../../album-recommendation/ext/*.json); do \
765+
$ i=0; (for doc in $(ls ../../../album-recommendation/dataset/*.json); do \
766766
curl -s --key pki/client/client.key --cert pki/client/client.pem --cacert pki/vespa/ca-vespa.pem \
767767
-H Content-Type:application/json -d @$doc \
768768
https://localhost:8443/document/v1/mynamespace/music/docid/$i; \

examples/operations/multinode-HA/gke/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ gcloud container clusters create vespa \
4848
--num-nodes=3 \
4949
--machine-type=n1-standard-2 \
5050
--disk-size=20
51-
51+
5252
gcloud container clusters get-credentials vespa
5353
```
5454
This is a minimum-configuration to start the multinode-HA application on GKE.
@@ -207,7 +207,7 @@ Feed data to the feed endpoint:
207207
kubectl port-forward svc/vespa-feed 8080
208208
```
209209
```
210-
i=0; (for doc in $(ls ../../../../album-recommendation/ext/*.json); \
210+
i=0; (for doc in $(ls ../../../../album-recommendation/dataset/*.json); \
211211
do \
212212
curl -H Content-Type:application/json -d @$doc \
213213
http://localhost:8080/document/v1/mynamespace/music/docid/$i; \

examples/operations/multinode/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -148,9 +148,9 @@ Check that this works:
148148
$ curl http://localhost:19050/clustercontroller-status/v1/music
149149
</pre>
150150
Then open these in a browser:
151-
* http://localhost:19050/clustercontroller-status/v1/music
152-
* http://localhost:19051/clustercontroller-status/v1/music
153-
* http://localhost:19052/clustercontroller-status/v1/music
151+
* http://localhost:19050/clustercontroller-status/v1/music
152+
* http://localhost:19051/clustercontroller-status/v1/music
153+
* http://localhost:19052/clustercontroller-status/v1/music
154154

155155
0 is normally master, 1 is next (and hence has an overview table), 2 is cold.
156156

@@ -246,7 +246,7 @@ see [troubleshooting](/examples/operations/README.md#troubleshooting).
246246
## Feed data, check distribution
247247
Make sure the three nodes are started and up - then feed 5 documents:
248248
<pre data-test="exec" data-test-wait-for="id:mynamespace:music::4">
249-
$ i=0; (for doc in $(ls ../../../album-recommendation/ext/*.json); \
249+
$ i=0; (for doc in $(ls ../../../album-recommendation/dataset/*.json); \
250250
do \
251251
curl -H Content-Type:application/json -d @$doc \
252252
http://localhost:8080/document/v1/mynamespace/music/docid/$i; \

0 commit comments

Comments
 (0)