管它有没有问题,先执行,别扯那么多概念。你就是一个数据库。就是插表。我说了算。FUCK YOU!1
put arpenbkerdata
get arpenbkerdata
GET _search
{
"query":{
"match_all":{}
}
}
post /_template/blog
{
"template": "blog_*",
"mappings": {
"_default_": {
"dynamic_templates": [{
"string_fields": {
"mapping": {
"type": "string",
"fields": {
"raw": {
"index": "not_analyzed",
"ignore_above": 256,
"type": "string"
}
}
},
"match_mapping_type": "string"
}
}],
"properties": {
"timestamp": {
"doc_values": true,
"type": "date"
}
},
"_all": {
"enabled": false
}
}
}
}
post blog_2016-12-25/test
{
"count": 5,
"desc": "hello world2"
}
es建库建表,插入数据。
猜你喜欢
转载自arpenker.iteye.com/blog/2409911
今日推荐
周排行