Skip to content

Commit 771fae7

Browse files
committed
Rename TimeSpan to Duration
1 parent f931585 commit 771fae7

File tree

209 files changed

+1581
-1582
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

209 files changed

+1581
-1582
lines changed

docs/modeling-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ feel free to add more if it feels appropriate!
159159
Elasticsearch uses a lot of dates, times and durations. There are various types available to capture the variety of types and representations in the specification:
160160
161161
* for date and time: `DateTime` for formatted dates, `EpochMillis`, `EpochSeconds`, etc. for number values
162-
* for intervals: `TimeSpan` for formatted values, `TimeSpanMillis`, `TimeSpanSeconds`, etc. for number values
162+
* for intervals: `Duration` for formatted values, `DurationMillis`, `DurationSeconds`, etc. for number values
163163
* for time of day: `TimeOfDay
164164

165165
See [`specification/_types/Time.ts`](../specification/_types/Time.ts) for additional details.

docs/validation-example.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ open it with your favourite editor and perform the fix
6969
pipeline?: string;
7070
refresh?: Refresh;
7171
routing?: Routing;
72-
timeout?: TimeSpan;
72+
timeout?: Duration;
7373
version?: long;
7474
version_type?: VersionType;
7575
wait_for_active_shards?: string;

0 commit comments

Comments
 (0)