Skip to content

Commit bd2db8c

Browse files
authored
Fix small typo on quickstart and distributed search example. (#1083)
1 parent 4c5e1b5 commit bd2db8c

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

docs/get-started/quickstart.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ And here is the complete config:
4949

5050
```yaml title="wikipedia_index_config.yaml"
5151
version: 0
52-
52+
index_id: wikipedia
5353
doc_mapping:
5454
field_mappings:
5555
- name: title

docs/guides/tutorial-hdfs-logs.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ for the nested values `resource.service` . It also sets the `default_search_fiel
4646

4747
```yaml title="hdfs_logs_index_config.yaml"
4848
version: 0
49-
49+
index_id: hdfs-logs
5050
doc_mapping:
5151
field_mappings:
5252
- name: timestamp
@@ -101,6 +101,11 @@ This can take up to 10 min on a modern machine, the perfect time for a coffee br
101101
curl https://quickwit-datasets-public.s3.amazonaws.com/hdfs-logs-multitenants.json.gz | gunzip | ./quickwit index ingest --index hdfs-logs
102102
```
103103

104+
If you are in a hurry, use the sample dataset that contains 10 000 documents:
105+
```bash
106+
curl https://quickwit-datasets-public.s3.amazonaws.com/hdfs-logs-multitenants-10000.json | ./quickwit index ingest --index hdfs-logs
107+
```
108+
104109
You can check it's working by using `search` subcommand and look for `ERROR` in `serverity_text` field:
105110
```bash
106111
./quickwit index search --index hdfs-logs --query "severity_text:ERROR"
@@ -210,7 +215,7 @@ Quickwit will use the configured `rest_listen_port` for serving the HTTP rest AP
210215
Let's execute a simple query that returns only `ERROR` entries on field `severity_text` on one of our searcher node:
211216

212217
```bash
213-
curl -v 'http://127.0.0.1:7280/api/v1/hdfs_logs/search?query=severity_text:ERROR
218+
curl 'http://127.0.0.1:7280/api/v1/hdfs-logs/search?query=severity_text:ERROR'
214219
```
215220

216221
## Clean

0 commit comments

Comments
 (0)