From ac3daab7b7b5c95e5106a0743ec92850fbd1150e Mon Sep 17 00:00:00 2001 From: trinity-1686a Date: Thu, 8 Feb 2024 00:01:54 +0100 Subject: [PATCH] doc: make commit timeout 10s when no --force, and 30s when --force (#4543) --- docs/distributed-tracing/otel-service.md | 2 +- docs/get-started/quickstart.md | 2 +- docs/guides/schemaless.md | 8 ++++---- docs/ingest-data/ingest-api.md | 2 +- docs/ingest-data/ingest-local-file.md | 2 +- docs/log-management/otel-service.md | 2 +- docs/log-management/send-logs/using-vector.md | 2 +- 7 files changed, 10 insertions(+), 10 deletions(-) diff --git a/docs/distributed-tracing/otel-service.md b/docs/distributed-tracing/otel-service.md index 68d35d1eb88..428b6523842 100644 --- a/docs/distributed-tracing/otel-service.md +++ b/docs/distributed-tracing/otel-service.md @@ -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: [] diff --git a/docs/get-started/quickstart.md b/docs/get-started/quickstart.md index ffa552673f0..6acc018001c 100644 --- a/docs/get-started/quickstart.md +++ b/docs/get-started/quickstart.md @@ -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: diff --git a/docs/guides/schemaless.md b/docs/guides/schemaless.md index 6bb43ef77e3..32c82bab96e 100644 --- a/docs/guides/schemaless.md +++ b/docs/guides/schemaless.md @@ -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 @@ -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: @@ -170,7 +170,7 @@ doc_mapping: timestamp_field: timestamp indexing_settings: - commit_timeout_secs: 5 + commit_timeout_secs: 30 EOF # Create index. @@ -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: diff --git a/docs/ingest-data/ingest-api.md b/docs/ingest-data/ingest-api.md index 131e0661877..2c1cb9c611a 100644 --- a/docs/ingest-data/ingest-api.md +++ b/docs/ingest-data/ingest-api.md @@ -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 diff --git a/docs/ingest-data/ingest-local-file.md b/docs/ingest-data/ingest-local-file.md index e817feb2f24..2a5b1bced03 100644 --- a/docs/ingest-data/ingest-local-file.md +++ b/docs/ingest-data/ingest-local-file.md @@ -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 diff --git a/docs/log-management/otel-service.md b/docs/log-management/otel-service.md index 859b462a3e9..6a0938fc924 100644 --- a/docs/log-management/otel-service.md +++ b/docs/log-management/otel-service.md @@ -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] diff --git a/docs/log-management/send-logs/using-vector.md b/docs/log-management/send-logs/using-vector.md index 55a9ac2f25b..4b2f3ed752d 100644 --- a/docs/log-management/send-logs/using-vector.md +++ b/docs/log-management/send-logs/using-vector.md @@ -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]