Improve index templates:
* Disable the `_all` field, because it isn't used. * Tune the history index for write throughput. Original commit: elastic/x-pack-elasticsearch@db946a42b7
This commit is contained in:
parent
ebda02438e
commit
f2fe639a3a
|
@ -6,11 +6,16 @@
|
||||||
"index.number_of_replicas": 1,
|
"index.number_of_replicas": 1,
|
||||||
"index.watcher.template_version": 1,
|
"index.watcher.template_version": 1,
|
||||||
"index.mapper.dynamic" : false,
|
"index.mapper.dynamic" : false,
|
||||||
"index.refresh_interval" : "5m"
|
"index.refresh_interval" : "5m",
|
||||||
|
"index.translog.flush_threshold_size" : "1GB",
|
||||||
|
"index.store.throttle.type" : "none"
|
||||||
},
|
},
|
||||||
"mappings": {
|
"mappings": {
|
||||||
"watch_record": {
|
"watch_record": {
|
||||||
"dynamic" : "strict",
|
"dynamic" : "strict",
|
||||||
|
"_all" : {
|
||||||
|
"enabled" : false
|
||||||
|
},
|
||||||
"properties": {
|
"properties": {
|
||||||
"watch_id": {
|
"watch_id": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
|
|
@ -11,6 +11,9 @@
|
||||||
"mappings": {
|
"mappings": {
|
||||||
"watch": {
|
"watch": {
|
||||||
"dynamic" : "strict",
|
"dynamic" : "strict",
|
||||||
|
"_all" : {
|
||||||
|
"enabled" : false
|
||||||
|
},
|
||||||
"properties": {
|
"properties": {
|
||||||
"trigger" : {
|
"trigger" : {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
|
|
Loading…
Reference in New Issue