Skip to content

Commit 0b0de90

Browse files
committed
Edit Felix's addition
1 parent fb68872 commit 0b0de90

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

manage-data/data-store/data-streams/time-bound-tsds.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -58,19 +58,18 @@ Writes within the accepted time range might still be rejected. The following act
5858

5959
### Dimension-based routing [dimension-based-routing]
6060

61-
In addition to time-based routing, time series data streams use dimension-based routing to determine which shard to route data to. Documents with the same dimensions are routed to the same shards using one of two strategies:
61+
In addition to time-based routing, time series data streams use dimension-based routing to determine which shard to route data to. Documents with the same dimensions are routed to the same shards, using one of two strategies:
6262

63-
1. Based on the internally managed `index.dimensions` index setting (preferred). Available as of stack version 9.2.
64-
2. Based on the [`index.routing_path`](elasticsearch://reference/elasticsearch/index-settings/time-series.md#index-routing-path) index setting (as a fallback).
63+
**Index dimensions** {applies_to}`stack: ga 9.2` {applies_to}`serverless: all`
64+
: Routing based on the internally managed `index.dimensions` setting.
6565

66-
The `index.dimensions`-based strategy offers a better ingest performance.
67-
It uses a list of dimension paths that's automatically kept up-to-date and is not user-configurable.
68-
This strategy is not available for time series data streams with dynamic templates that set `time_series_dimension: true`.
66+
**Routing path**
67+
: Routing based on the [`index.routing_path`](elasticsearch://reference/elasticsearch/index-settings/time-series.md#index-routing-path) setting (as a fallback).
6968

70-
It can be disabled by setting [`index.index_dimensions_tsid_strategy_enabled`](elasticsearch://reference/elasticsearch/index-settings/time-series.md#index-dimensions-tsid-strategy-enabled) to `false`,
71-
or by manually setting `index.routing_path`.
69+
The `index.dimensions`-based strategy offers better ingest performance. It uses a list of dimension paths that is automatically updated (and is not user-configurable). This strategy is not available for time series data streams with dynamic templates that set `time_series_dimension: true`.
7270

73-
The [`index.routing_path`](elasticsearch://reference/elasticsearch/index-settings/time-series.md#index-routing-path) setting specifies the dimension fields to use for routing, for example:
71+
To disable routing based on `index.dimensions`, set [`index.index_dimensions_tsid_strategy_enabled`](elasticsearch://reference/elasticsearch/index-settings/time-series.md#index-dimensions-tsid-strategy-enabled) to `false`,
72+
or manually set the [`index.routing_path`](elasticsearch://reference/elasticsearch/index-settings/time-series.md#index-routing-path) to the dimensions you want to use:
7473

7574
```console
7675
"settings": {

0 commit comments

Comments
 (0)