[Mapping definition for [_source] has unsupported parameters: [compress : true]];
Elasticsearch | 作者 shawn | 发布于2016年12月12日 | 阅读数:8846
{
"template": "test",
"settings": {
"index.number_of_shards": 9,
"number_of_replicas": 1
},
"mappings": {
"test": {
"_id":{
"path":"docId"
},
"_all": {
"enabled": false
},
"_timestamp": {
"enabled": true
},
"_source":{
"compress":true
},
"_ttl": {
"enabled": false,
"default": "1d"
},
"dynamic": "true",
}
}
}
请教一下为什么会报错
"template": "test",
"settings": {
"index.number_of_shards": 9,
"number_of_replicas": 1
},
"mappings": {
"test": {
"_id":{
"path":"docId"
},
"_all": {
"enabled": false
},
"_timestamp": {
"enabled": true
},
"_source":{
"compress":true
},
"_ttl": {
"enabled": false,
"default": "1d"
},
"dynamic": "true",
}
}
}
请教一下为什么会报错
3 个回复
lopince
赞同来自: kennywu76
lopince
赞同来自:
lopince
赞同来自:
https://www.elastic.co/guide/e ... .html