Skip to content

Commit

Permalink
doc: make commit timeout 10s when no --force, and 30s when --force (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
trinity-1686a authored Feb 7, 2024
1 parent 5a43392 commit ac3daab
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion docs/distributed-tracing/otel-service.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ doc_mapping:
timestamp_field: span_start_timestamp_nanos
indexing_settings:
commit_timeout_secs: 5
commit_timeout_secs: 10
search_settings:
default_search_fields: []
Expand Down
2 changes: 1 addition & 1 deletion docs/get-started/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ search_settings:
default_search_fields: [title, body]

indexing_settings:
commit_timeout_secs: 10
commit_timeout_secs: 30
```
Now we can create the index with the command:
Expand Down
8 changes: 4 additions & 4 deletions docs/guides/schemaless.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ search_settings:
default_search_fields: [severity, message]

indexing_settings:
commit_timeout_secs: 5
commit_timeout_secs: 30
```
The `mode` attribute controls what should be done if an ingested document
Expand Down Expand Up @@ -136,7 +136,7 @@ doc_mapping:
timestamp_field: timestamp
indexing_settings:
commit_timeout_secs: 5 # <--- Your document will be searchable ~5 seconds after you ingest them.
commit_timeout_secs: 30 # <--- Your document will be searchable ~30 seconds after you ingest them.
```

Our index is now ready to handle queries like this:
Expand Down Expand Up @@ -170,7 +170,7 @@ doc_mapping:
timestamp_field: timestamp
indexing_settings:
commit_timeout_secs: 5
commit_timeout_secs: 30
EOF
# Create index.
Expand Down Expand Up @@ -256,7 +256,7 @@ search_settings:
default_search_fields: [SeverityText, Body, Attributes, Resource]
indexing_settings:
commit_timeout_secs: 5
commit_timeout_secs: 10
```

We can now naturally search our logs with the following query:
Expand Down
2 changes: 1 addition & 1 deletion docs/ingest-data/ingest-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ index_id: stackoverflow-schemaless
doc_mapping:
mode: dynamic
indexing_settings:
commit_timeout_secs: 1
commit_timeout_secs: 30
EOF
# Use the CLI to create the index...
./quickwit index create --index-config stackoverflow-schemaless-config.yaml
Expand Down
2 changes: 1 addition & 1 deletion docs/ingest-data/ingest-local-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ index_id: stackoverflow-schemaless
doc_mapping:
mode: dynamic
indexing_settings:
commit_timeout_secs: 1
commit_timeout_secs: 30
EOF

./quickwit index create --index-config stackoverflow-schemaless-config.yaml
Expand Down
2 changes: 1 addition & 1 deletion docs/log-management/otel-service.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ doc_mapping:
timestamp_field: timestamp_nanos
indexing_settings:
commit_timeout_secs: 5
commit_timeout_secs: 10
search_settings:
default_search_fields: [body.message]
Expand Down
2 changes: 1 addition & 1 deletion docs/log-management/send-logs/using-vector.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ doc_mapping:
timestamp_field: timestamp_nanos

indexing_settings:
commit_timeout_secs: 5
commit_timeout_secs: 10

search_settings:
default_search_fields: [body.message]
Expand Down

0 comments on commit ac3daab

Please sign in to comment.