Skip to content

Commit 27c57ae

Browse files
headconnectnik9000
authored andcommitted
Fixed id's of 'worked example' in scripted metric aggs docs (#22430)
1 parent 20f9017 commit 27c57ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/reference/aggregations/metrics/scripted-metric-aggregation.asciidoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,9 +156,9 @@ PUT /transactions/stock/_bulk?refresh
156156
{"type": "sale","amount": 80}
157157
{"index":{"_id":2}}
158158
{"type": "cost","amount": 10}
159-
{"index":{"_id":2}}
159+
{"index":{"_id":3}}
160160
{"type": "cost","amount": 30}
161-
{"index":{"_id":2}}
161+
{"index":{"_id":4}}
162162
{"type": "sale","amount": 130}
163163
--------------------------------------------------
164164
// CONSOLE

0 commit comments

Comments
 (0)