elasticsearch/docs/reference/rest-api
Nhat Nguyen 5c9969250d
Allow specify dynamic templates in bulk request (#69948)
This change allows users to specify dynamic templates in a bulk request.

```
PUT myindex
{
  "mappings": {
    "dynamic_templates": [{
      "time_histograms": {
        "mapping": {
          "type": "histogram",
          "meta": {
            "unit": "s"
          }
        }
      }
    }]
  }
}
```

```
POST myindex/_bulk
{ "index": { "dynamic_templates": { "response_times": "time_histograms" } } }
{ "@timestamp": "2020-08-12", "response_times": { "values": [1, 10], "counts": [5, 1] }}
```

Closes #61939
2021-04-08 12:44:36 -04:00
..
common-parms.asciidoc Allow specify dynamic templates in bulk request (#69948) 2021-04-08 12:44:36 -04:00
cron-expressions.asciidoc [DOCS] Fix link to quartz crontrigger tutorial (#61531) 2020-08-25 10:49:24 -04:00
defs.asciidoc [DOCS] Fine-tunes data frame analytics API docs formatting. (#50799) 2020-01-09 16:21:01 +01:00
index.asciidoc Change Get Snapshottable Features endpoint to _features (#69755) 2021-03-02 11:30:02 -07:00
info.asciidoc Move runtime fields stats to server (#69487) 2021-03-08 12:38:20 +01:00
usage.asciidoc Extend searchable snapshots feature usage stats (#70441) 2021-03-16 18:02:34 +01:00