فهرست منبع

Docs: adding missing single quote on PUT index request

Closes #10876
Antonio Bonuccelli 10 سال پیش
والد
کامیت
ab83eb036b
1فایلهای تغییر یافته به همراه4 افزوده شده و 0 حذف شده
  1. 4 0
      docs/reference/search/aggregations/metrics/scripted-metric-aggregation.asciidoc

+ 4 - 0
docs/reference/search/aggregations/metrics/scripted-metric-aggregation.asciidoc

@@ -84,24 +84,28 @@ $ curl -XPUT 'http://localhost:9200/transactions/stock/1' -d '
     "type": "sale",
     "amount": 80
 }
+'
 
 $ curl -XPUT 'http://localhost:9200/transactions/stock/2' -d '
 {
     "type": "cost",
     "amount": 10
 }
+'
 
 $ curl -XPUT 'http://localhost:9200/transactions/stock/3' -d '
 {
     "type": "cost",
     "amount": 30
 }
+'
 
 $ curl -XPUT 'http://localhost:9200/transactions/stock/4' -d '
 {
     "type": "sale",
     "amount": 130
 }
+'
 --------------------------------------------------
 
 Lets say that documents 1 and 3 end up on shard A and documents 2 and 4 end up on shard B. The following is a breakdown of what the aggregation result is