소스 검색

Fixed id's of 'worked example' in scripted metric aggs docs (#22430)

Johannes Kanavin 8 년 전
부모
커밋
27c57aeebe
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      docs/reference/aggregations/metrics/scripted-metric-aggregation.asciidoc

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

@@ -156,9 +156,9 @@ PUT /transactions/stock/_bulk?refresh
 {"type": "sale","amount": 80}
 {"index":{"_id":2}}
 {"type": "cost","amount": 10}
-{"index":{"_id":2}}
+{"index":{"_id":3}}
 {"type": "cost","amount": 30}
-{"index":{"_id":2}}
+{"index":{"_id":4}}
 {"type": "sale","amount": 130}
 --------------------------------------------------
 // CONSOLE